bot
bot copied to clipboard
Warning infractions in mod channels should fail if the user has DMs off
Currently, if a moderator issues a warning to a user in a channel that that user can't see (usually a moderator-only channel), and that user happens to not receive DMs from non-friends, the user won't know that they've been warned and the point of the warning is effectively missed.
In this circumstance, the warning should not be entered into the database and the moderator should be informed that the warning has failed.
This change should not be made until @scragly's proposed changes to the infraction architecture are complete. See #1189.