-
-
Notifications
You must be signed in to change notification settings - Fork 671
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
AttributeError: 'DMChannel' object has no attribute 'mention' #2727
Comments
Antispam should just ignore the DM channel honestly, that has several issues now that I think about it. So around this line
|
Is there a way to filter those messages out of the |
yeah the cache is used for other stuff so it shouldn't be filtered out there. Not sure what you mean by the caller |
Looking back at this I'm not entirely sure what's going on. None of the filters in this list trigger on DMs. |
Looks like we already have some code regarding filtering DMs https://github.com/python-discord/bot/blob/577c8da66e618666891eaf237c4e0ca33750230f/bot/exts/filtering/_settings_types/validations/filter_dm.py but it looks like this isn't being used except in a test. |
Sentry Issue: BOT-3KT
The text was updated successfully, but these errors were encountered: