allow more reminder content inc. attachments, tts

This commit is contained in:
2020-12-16 19:20:46 +00:00
parent 02b75dde6a
commit e002984986
2 changed files with 185 additions and 126 deletions

View File

@@ -345,11 +345,7 @@ impl Framework for RegexFramework {
}
// gate to prevent analysing messages unnecessarily
if (msg.author.bot && self.ignore_bots)
|| msg.tts
|| msg.content.is_empty()
|| !msg.attachments.is_empty()
{
if (msg.author.bot && self.ignore_bots) || msg.content.is_empty() {
}
// Guild Command
else if let (Some(guild), Some(Channel::Guild(channel))) =