B
B
BrenLike2020-07-29 10:39:19
Python
BrenLike, 2020-07-29 10:39:19

Why doesn't the bot start on discord.py?

When I turn on the bot, I get an error stating that there is an error in the token, but the token is correct (ps it is specified in another file and it was launched before) it worked yesterday and stopped today...

Python code: https://pastebin.com/eHU8fFfH

Console text : https://pastebin.com/dymq01Xd

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Maxim Nevzorov, 2020-07-29
@BrenLike

Update the library. Discord added two new fields to the API, which was not provided by the library. This has been fixed in version 1.3.4.
Read more: discord.py#5109

A
Alexander, 2020-07-29
@Alexandre888

1. try to change the token: copy it from the Discord Developer Portal
2. if changing the token did not help, paste your token instead of B_TOKEN_START:
client.run("token")

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question