Compare commits
2 commits
ce174cefa1
...
f7068305bb
Author | SHA1 | Date | |
---|---|---|---|
f7068305bb | |||
620eff1782 |
1 changed files with 1 additions and 1 deletions
2
bot.py
2
bot.py
|
@ -168,7 +168,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:
|
||||||
# this breaks if you are on windows
|
# this breaks if you are on windows
|
||||||
|
|
Loading…
Reference in a new issue