diff options
| author | 2020-07-29 13:18:06 +0200 | |
|---|---|---|
| committer | 2020-07-29 13:18:06 +0200 | |
| commit | a4e5044596492fe56f2c2d36468f126907602b98 (patch) | |
| tree | d893ac53821dcce2086970d6b285117053d5caef | |
| parent | Merge pull request #1023 from ks129/help-channels-pin (diff) | |
Don't ping everyone when tripping filter in DMs.
We don't need a ping in #mod-alerts whenever someone is tripping a
filter (like invites or bad language) in a DM to the bot. We can still
send an embed, so that we can action it, but there is no urgent need to
respond if it's just a direct message to the bot.
This is particularly true now that we have #dm-log.
| -rw-r--r-- | bot/cogs/filtering.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/cogs/filtering.py b/bot/cogs/filtering.py index bd665f424..29aac812f 100644 --- a/bot/cogs/filtering.py +++ b/bot/cogs/filtering.py @@ -339,7 +339,7 @@ class Filtering(Cog): text=message, thumbnail=msg.author.avatar_url_as(static_format="png"), channel_id=Channels.mod_alerts, - ping_everyone=Filter.ping_everyone, + ping_everyone=Filter.ping_everyone if not is_private else False, additional_embeds=additional_embeds, additional_embeds_msg=additional_embeds_msg ) |