Closed 39ma closed 4 years ago
@39ma the linter is still giving errors for the whitespace on lines 40 and 45.
I remembered why I didn't implement this in the first place: Because people wouldn't want to be pinged over someone looking at their stats. I figured it made sense for bans, unbans and queue pops, but not this.
@b3none what are your thoughts on this?
AllowedMentions
in the discord.py documentation gives a way to send mentions in messages without pinging them, but I don't think there is any way to implement this when users are sending the message.
may be make a function that bot will delete user's message immediately and show his stats.
Is there any way that a user can mute direct notifications from a specific channel?
may be make a function that bot will delete user's message immediately and show his stats.
@39ma I think that would still leave the notification and then they wouldn't see anything when they went to channel. Might be more annoying if they don't know what it was from.
@b3none you can mute mentions in a specific channel. Since the common use case for the bot is to use it in a single channel, they would end up missing other notifications however. The server owner/users would have to mute it manually unless we automate the channels the bot uses (then we'd know what channel to mute). I'd rather leave this PR as is then add that complexity just for this small feature.
The next best option would be to use user names or IDs but the autocomplete of mentions is very nice.
@39ma I'll add this in if you get rid of the linting errors first.
I remembered why I didn't implement this in the first place: Because people wouldn't want to be pinged over someone looking at their stats. I figured it made sense for bans, unbans and queue pops, but not this.
@b3none what are your thoughts on this?
AllowedMentions
in the discord.py documentation gives a way to send mentions in messages without pinging them, but I don't think there is any way to implement this when users are sending the message.