Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bot not responding to my commands #14

Open
romandeh opened this issue Feb 8, 2023 · 2 comments
Open

Bot not responding to my commands #14

romandeh opened this issue Feb 8, 2023 · 2 comments

Comments

@romandeh
Copy link

romandeh commented Feb 8, 2023

I started the bot, but none of the commands are recognized, throwing this messages in the console.

C:\Users\roman\Desktop\music_bot-main\main.py:15: RuntimeWarning: coroutine 'BotBase.add_cog' was never awaited
  bot.add_cog(help_cog(bot))
RuntimeWarning: Enable tracemalloc to get the object allocation traceback
C:\Users\roman\Desktop\music_bot-main\main.py:16: RuntimeWarning: coroutine 'BotBase.add_cog' was never awaited
  bot.add_cog(music_cog(bot))
RuntimeWarning: Enable tracemalloc to get the object allocation traceback
[2023-02-08 02:43:21] [INFO    ] discord.client: logging in using static token
[2023-02-08 02:43:22] [INFO    ] discord.gateway: Shard ID None has connected to Gateway (Session ID: 7c8c0489dbc8e8c9bffdd65f1b5b4a68).
[2023-02-08 02:43:26] [ERROR   ] discord.ext.commands.bot: Ignoring exception in command None
discord.ext.commands.errors.CommandNotFound: Command "help" is not found
@MateoGraviFiorino
Copy link

MateoGraviFiorino commented Feb 9, 2023

Same problem here! I couldn't solve it yet
discord.ext.commands.errors.CommandNotFound: Command "help" is not found

@George-Allegedly
Copy link

I had the same issue - you need to change how you load the cogs.
change it to this in main.py:

@bot.event
async def on_ready():
await bot.add_cog(music_cog(bot))
await bot.add_cog(help_cog(bot))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants