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

Warnings for specific event routers should be suppressable #357

Closed
OtoshigamiX opened this issue Apr 12, 2022 · 1 comment
Closed

Warnings for specific event routers should be suppressable #357

OtoshigamiX opened this issue Apr 12, 2022 · 1 comment
Labels

Comments

@OtoshigamiX
Copy link

Is your feature request related to a problem? Please describe.
I'm writing a bot which needs only access to DM messages, and using on_message_create with only default intents causes a warning to be printed out with each message received. DM messages can be read without this intent, so I'd want to suppress this warning.

Describe the solution you'd like
I would like to suppress warnings on event_handlers, ideally not every warning, but only those that I know that I can ignore.

Describe alternatives you've considered
Adding missing intent, but this requires additional perms for the bot, which won't be used for this particular bot

braindigitalis added a commit that referenced this issue Apr 16, 2022
@braindigitalis
Copy link
Contributor

now fixed in dev, will not emit the warning for DMs, thanks for the report!

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

No branches or pull requests

2 participants