scarletcafe / jishaku

A debugging and testing cog for discord.py rewrite bots.
https://jishaku.readthedocs.io/en/latest/
MIT License
541 stars 181 forks source link

Bot.logout was deprecated #101

Closed InterStella0 closed 3 years ago

InterStella0 commented 3 years ago

Rationale

After discord.py 1.7 update, Bot.logout was deprecated. This warning keeps popping up.

C:\Users\sarah\AppData\Local\Programs\Python\Python39-32\lib\site-packages\discord\ext\commands\core.py:85: 
 DeprecationWarning: logout is deprecated, use Client.close instead.
    ret = await coro(*args, **kwargs)

Summary of changes made

jsk_shutdown was using bot.logout so I changed it to bot.close

Checklist

scarletcafe commented 3 years ago

CI is failing but this is due to the change in version locking in d.py 2.0