diff --git a/PluralKit.Bot/CommandSystem/Context/Context.cs b/PluralKit.Bot/CommandSystem/Context/Context.cs index 3a0fb4be..6398f34f 100644 --- a/PluralKit.Bot/CommandSystem/Context/Context.cs +++ b/PluralKit.Bot/CommandSystem/Context/Context.cs @@ -96,9 +96,9 @@ public class Context // if (embed != null) // { - // Sensitive information that might want to be deleted by :x: reaction is typically in an embed format (member cards, for example) - // but since we can, we just store all sent messages for possible deletion - await _commandMessageService.RegisterMessage(msg.Id, msg.ChannelId, Author.Id); + // Sensitive information that might want to be deleted by :x: reaction is typically in an embed format (member cards, for example) + // but since we can, we just store all sent messages for possible deletion + await _commandMessageService.RegisterMessage(msg.Id, msg.ChannelId, Author.Id); // } return msg; diff --git a/PluralKit.Bot/Services/WebhookExecutorService.cs b/PluralKit.Bot/Services/WebhookExecutorService.cs index f9ccaf76..e7aec9bd 100644 --- a/PluralKit.Bot/Services/WebhookExecutorService.cs +++ b/PluralKit.Bot/Services/WebhookExecutorService.cs @@ -173,7 +173,7 @@ public class WebhookExecutorService // We don't care about whether the sending succeeds, and we don't want to *wait* for it, so we just fork it off var _ = TrySendRemainingAttachments(webhook, req.Name, req.AvatarUrl, attachmentChunks, req.ThreadId); - + // for some reason discord may(?) return a null guildid here??? return webhookMessage with { GuildId = webhookMessage.GuildId ?? req.GuildId }; }