Compare commits

...

2 commits

Author SHA1 Message Date
f7068305bb Merge branch 'unstable' of https://code.cat.casa/Helixu/Foxtrot into unstable 2021-11-20 16:01:50 +00:00
620eff1782 yes 2021-11-20 16:01:47 +00:00

2
bot.py
View file

@ -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