Skip to content

Commit 60dc98d

Browse files
committed
replaced client.logout() with client.close() since it is now declared deprecated since discord.py 1.7
1 parent 7fc42be commit 60dc98d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cogs/admin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ async def shutdown(self, ctx):
2424
'''Schaltet mich ab :( (BOT OWNER ONLY)'''
2525
await ctx.send('**:ok:** Bye!')
2626
#self.bot.gamesLoop.cancel()
27-
await self.bot.logout()
27+
await self.bot.close()
2828
sys.exit(0)
2929

3030
@commands.command(hidden=True)

main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
from discord.ext import commands
1616
import loadconfig
1717

18-
__version__ = '1.5.1'
18+
__version__ = '1.5.2'
1919
description = '''Der-Eddys anime discord bot, developed with discord.py\n
2020
A full list of all commands are available here: https://github.com/Der-Eddy/discord_bot#commands-list'''
2121

0 commit comments

Comments
 (0)