#AttributeError: 'Bot' object has no attribute 'add_command'
1 messages · Page 1 of 1 (latest)
Why you should not use the requests library for your bot
requests is a popular HTTP library for Python. It is however not a good option for Discord bots, since it is not async and blocking.
This essentially means that your bot will not be able to execute any code at all while a request is happening. Since requests usually take a few seconds to complete, this can have a detrimental effect on your bot's performance. E.g if a user executes a command that performs a request taking 5 seconds to complete, no one else will be able to use your bot for those 5 seconds.
Please look at using a HTTP library that has async support, such as aiohttp or httpx
can you run python -m pip list in a cmd and send the output here
why?
can you still just do that
can you show your main file as well, where you run the bot from
p sure messages is in default anyway
are you sure you never had discord.py installed?