forked from IPD/Foxtrot
yes
This commit is contained in:
parent
e79a2b3d0f
commit
620eff1782
1 changed files with 1 additions and 1 deletions
2
bot.py
2
bot.py
|
@ -160,7 +160,7 @@ async def gay(ctx, member: discord.Member=None):
|
||||||
@bot.event
|
@bot.event
|
||||||
async def on_ready():
|
async def on_ready():
|
||||||
await asyncio.sleep(1) # someone on stackoverflow said discord does not like if you are speedy
|
await asyncio.sleep(1) # someone on stackoverflow said discord does not like if you are speedy
|
||||||
await bot.change_presence(activity=Streaming(name="Testing - bot may go offline at any point", url="https://twitch.tv/xginlang"))
|
await bot.change_presence(activity=Streaming(name="Testing - bot may go offline at any point.", url="https://twitch.tv/xginlang"))
|
||||||
|
|
||||||
with open('token.json', 'r') as file:
|
with open('token.json', 'r') as file:
|
||||||
token = ''.join([line[:-1] for line in file.readlines()])
|
token = ''.join([line[:-1] for line in file.readlines()])
|
||||||
|
|
Loading…
Reference in a new issue