1
0
Fork 1
mirror of https://github.com/TeamOctolings/Octobot.git synced 2025-04-30 19:19:54 +03:00

Revert "Ban backticks in /remind"

This reverts commit ab260eea15.
This commit is contained in:
Macintxsh 2024-06-30 13:45:28 +05:00
parent ab260eea15
commit ee2a19409a
Signed by: mctaylors
GPG key ID: 4EEF4F949A266EE2
4 changed files with 0 additions and 22 deletions

View file

@ -158,16 +158,6 @@ public sealed class RemindCommandGroup : CommandGroup
return await _feedback.SendContextualEmbedResultAsync(failedEmbed, ct: CancellationToken);
}
if (text.Contains('`'))
{
var failedEmbed = new EmbedBuilder()
.WithSmallTitle(Messages.RemindBannedText, bot)
.WithColour(ColorsList.Red)
.Build();
return await _feedback.SendContextualEmbedResultAsync(failedEmbed, ct: CancellationToken);
}
return await AddReminderAsync(timeSpan, text, data, channelId, executor, CancellationToken);
}