sergree / DolboNet

🤪 Русскоязычный чат-бот для Discord на архитектуре Transformer
GNU General Public License v3.0
58 stars 17 forks source link

'CheckingClient' object has no attribute 'logout' #22

Closed fnvm closed 1 year ago

fnvm commented 1 year ago

Пытаюсь запустить: ERROR discord.client Ignoring exception in on_ready Traceback (most recent call last): File "C:\Users\user\AppData\Local\Programs\Python\Python38\lib\site-packages\discord\client.py", line 377, in _run_event await coro(*args, **kwargs) File "C:\Users\user\Desktop\DolboNet-master\core\checking_client.py", line 13, in on_ready await self.logout() AttributeError: 'CheckingClient' object has no attribute 'logout'

sergree commented 1 year ago

Похоже метод в discord.py стал deprecated. Исправлю asap

sergree commented 1 year ago

Тем временем можно откатиться на discord.py 1.7.3 как временное решение

sergree commented 1 year ago

Исправлено в https://github.com/sergree/DolboNet/commit/9e16f154f24247967c241439a89c7040c0d13087

1) Заново скачайте код бота 2) Включите Message Content Intent в настройках аккаунта бота Message Content Intent 3) Пробуйте снова