Allow role mentions in specific areas#1039
Merged
Merged
Conversation
added 2 commits
July 12, 2020 13:23
Now that we're running Discord 1.4.0a, we need to explicitely allow all the role mentions for sends that don't use ping one of the globally whitelisted role pings, which are Moderators, Admins and Owners. We were pinging roles other than Mods+ in exactly two cases: - Inside the Syncers, whenever we ask for sync confirmation (if the number of roles or users to sync is unusually high) - In the help_channels.py system, whenever we max out help channels and are unable to create more. This commit addresses both of these. GitHub #1038 #1038
vivax3794
reviewed
Jul 12, 2020
This comment violates the DRY principle. Co-authored-by: Sebastiaan Zeeff <33516116+SebastiaanZ@users.noreply.github.com>
Contributor
Author
|
@vivax3794 @SebastiaanZ Good catch. I've removed that comment since it violates the DRY principle. |
SebastiaanZ
approved these changes
Jul 12, 2020
ks129
approved these changes
Jul 12, 2020
Contributor
Author
|
Consensus among core devs appears to be that we should continue to use The reason for this is that it allows the #mod-alerts channel, which typically has a low signal-to-noise ratio, to be muted. The trick to it is to surpress Ideally, I think Discord should address this in the UI, but I suppose I don't really care whether we use one or the other, so I'll change it back and add the |
Contributor
Author
|
This should be good now, I think. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR makes two changes:
@Moderatorsinstead of@everyonein #mod-alerts and #mod-logsThis is necessary for pings to come through after we changed to Discord.py 1.4.0a
Closes #1038.