-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
[BUG]: the bot is unresponsive to the command ?help #3328
Comments
Are you sure you have a correct configuration of the .env file and the bot also connects without any issues? Also what happens if you use |
Yes, the log my bot started and running all cmd without error.
|
EDIT: I just noticed there is an error when starting up the bot. After Shard ID x have connected to gateway, it gives: Failed to load cogs.plugins
|
Confirmed to be a bug with an open PR to resolve |
Bot Version
latest
How are you hosting Modmail?
Other
Error Logs
Traceback (most recent call last): File "/home/container/.local/share/virtualenvs/modmail-wrCiwdJy/lib/python3.9/site-packages/discord/ext/commands/core.py", line 235, in wrapped ret = await coro(*args, **kwargs) File "/home/container/modmail/cogs/utility.py", line 52, in command_callback return await super().command_callback(ctx, command=command) File "/home/container/.local/share/virtualenvs/modmail-wrCiwdJy/lib/python3.9/site-packages/discord/ext/commands/help.py", line 951, in command_callback return await self.send_bot_help(mapping) File "/home/container/modmail/cogs/utility.py", line 123, in send_bot_help embeds.extend(await self.format_cog_help(cog)) File "/home/container/modmail/cogs/utility.py", line 60, in format_cog_help cog.get_commands() if not no_cog else cog, AttributeError: 'NoneType' object has no attribute 'get_commands' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/container/.local/share/virtualenvs/modmail-wrCiwdJy/lib/python3.9/site-packages/discord/ext/commands/bot.py", line 1350, in invoke await ctx.command.invoke(ctx) File "/home/container/.local/share/virtualenvs/modmail-wrCiwdJy/lib/python3.9/site-packages/discord/ext/commands/core.py", line 1029, in invoke await injected(*ctx.args, **ctx.kwargs) # type: ignore File "/home/container/.local/share/virtualenvs/modmail-wrCiwdJy/lib/python3.9/site-packages/discord/ext/commands/core.py", line 244, in wrapped raise CommandInvokeError(exc) from exc discord.ext.commands.errors.CommandInvokeError: Command raised an exception: AttributeError: 'NoneType' object has no attribute 'get_commands'
Screenshots
Traceback (most recent call last):
File "/home/container/.local/share/virtualenvs/modmail-wrCiwdJy/lib/python3.9/site-packages/discord/ext/commands/core.py", line 235, in wrapped
ret = await coro(*args, **kwargs)
File "/home/container/modmail/cogs/utility.py", line 52, in command_callback
return await super().command_callback(ctx, command=command)
File "/home/container/.local/share/virtualenvs/modmail-wrCiwdJy/lib/python3.9/site-packages/discord/ext/commands/help.py", line 951, in command_callback
return await self.send_bot_help(mapping)
File "/home/container/modmail/cogs/utility.py", line 123, in send_bot_help
embeds.extend(await self.format_cog_help(cog))
File "/home/container/modmail/cogs/utility.py", line 60, in format_cog_help
cog.get_commands() if not no_cog else cog,
AttributeError: 'NoneType' object has no attribute 'get_commands'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/container/.local/share/virtualenvs/modmail-wrCiwdJy/lib/python3.9/site-packages/discord/ext/commands/bot.py", line 1350, in invoke
await ctx.command.invoke(ctx)
File "/home/container/.local/share/virtualenvs/modmail-wrCiwdJy/lib/python3.9/site-packages/discord/ext/commands/core.py", line 1029, in invoke
await injected(*ctx.args, **ctx.kwargs) # type: ignore
File "/home/container/.local/share/virtualenvs/modmail-wrCiwdJy/lib/python3.9/site-packages/discord/ext/commands/core.py", line 244, in wrapped
raise CommandInvokeError(exc) from exc
discord.ext.commands.errors.CommandInvokeError: Command raised an exception: AttributeError: 'NoneType' object has no attribute 'get_commands'
Additional Information
No response
The text was updated successfully, but these errors were encountered: