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

Command errors outside of guilds #135

Closed
pydis-bot opened this issue Nov 17, 2018 · 2 comments
Closed

Command errors outside of guilds #135

pydis-bot opened this issue Nov 17, 2018 · 2 comments
Labels
a: backend Related to internal functionality and utilities (error_handler, logging, security, utils and core) a: frontend Related to output and formatting t: bug Something isn't working

Comments

@pydis-bot
Copy link

Originally posted by Johannes Christ:

Some commands currently expect a guild to be there, therefore message.guild is None:

image

An easy solution would be applying the @commands.guild_only decorator on commands using guilds explicitly.

@pydis-bot pydis-bot added a: backend Related to internal functionality and utilities (error_handler, logging, security, utils and core) t: bug Something isn't working Cogs a: frontend Related to output and formatting labels Nov 17, 2018
@pydis-bot
Copy link
Author

Comment from Gareth Coles:

closed via commit 1de1e8d

@pydis-bot
Copy link
Author

Comment from Gareth Coles:

mentioned in commit 1de1e8d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a: backend Related to internal functionality and utilities (error_handler, logging, security, utils and core) a: frontend Related to output and formatting t: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant