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

resolving issues

This commit is contained in:
Macintxsh 2023-07-18 11:15:33 +03:00 committed by GitHub
parent 4d1767bd61
commit 9972b5f2a0
Signed by: GitHub
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View file

@ -66,8 +66,7 @@ public class AboutCommandGroup : CommandGroup {
var embed = new EmbedBuilder().WithSmallTitle(Messages.AboutBot, currentUser)
.WithDescription(builder.ToString())
.WithColour(ColorsList.Cyan)
.WithImageUrl(
"https://media.discordapp.net/attachments/837385840946053181/1125009665592393738/boyfriend.png")
.WithImageUrl("https://cdn.upload.systems/uploads/JFAaX5vr.png")
.Build();
if (!embed.IsDefined(out var built)) return Result.FromError(embed);

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.ToLower() switch {
gatewayEvent.ChannelID, ct: ct, content: gatewayEvent.Content.ToLowerInvariant() switch {
"whoami" => "`nobody`",
"сука !!" => "`root`",
"воооо" => "`removing /...`",