1
0
Fork 1
mirror of https://github.com/TeamOctolings/Octobot.git synced 2025-04-20 00:43:36 +03:00

Added toLower() for trolling things

This commit is contained in:
nrdk 2023-07-18 02:17:39 +05:00
parent 37360a39c7
commit 4d1767bd61
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 037977635882C149

View file

@ -20,7 +20,7 @@ public class MessageCreateResponder : IResponder<IMessageCreate> {
public Task<Result> RespondAsync(IMessageCreate gatewayEvent, CancellationToken ct = default) {
_ = _channelApi.CreateMessageAsync(
gatewayEvent.ChannelID, ct: ct, content: gatewayEvent.Content switch {
gatewayEvent.ChannelID, ct: ct, content: gatewayEvent.Content.ToLower() switch {
"whoami" => "`nobody`",
"сука !!" => "`root`",
"воооо" => "`removing /...`",