0 / 0 / 0
Регистрация: 29.03.2020
Сообщений: 1
|
||||||
1 | ||||||
Выдаёт ошибку когда пытаюсь запустить дискорд бота: 'str' object has no attribute 'loop'29.03.2020, 22:24. Показов 836. Ответов 0
Я новичок в сфере python и решил написать дискорд бота. Вот код
Traceback (most recent call last): File "bot.py", line 11, in <module> client.run("NjkzODkzMDM2MDY0NzY4MTAw.XoDsTg.ZVLH3cljLmjUPaBPZqzW_2XGEwo") File "C:\python\lib\site-packages\discord\client.py", line 611, in run loop = self.loop AttributeError: 'str' object has no attribute 'loop' Как это исправить?
0
|
29.03.2020, 22:24 | |
Ответы с готовыми решениями:
0
Внезапный лишний аргумент: str ('str' object has no attribute 'Name') Выдаёт ошибку AttributeError: 'NoneType' object has no attribute 'entry' Программна выдает ошибку 'NoneType' object has no attribute 'ljust' Модуль speech recognition выдает ошибку type object 'Recognizer' has no attribute 'operation_timeout' |
29.03.2020, 22:24 | |
29.03.2020, 22:24 | |
Помогаю со студенческими работами здесь
1
'str' object has no attribute AttributeError: 'str' object has no attribute 'tell' AttributeError: 'str' object has no attribute 'startwith' AttributeError: 'str' object has no attribute 'text' AttributeError: 'str' object has no attribute 'keys' AttributeError: 'str' object has no attribute 'matches' Искать еще темы с ответами Или воспользуйтесь поиском по форуму: |