mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
chore: lint
This commit is contained in:
parent
6b4f620c7f
commit
cc0edd3ed8
2 changed files with 4 additions and 4 deletions
|
|
@ -96,9 +96,9 @@ public class Context
|
||||||
|
|
||||||
// if (embed != null)
|
// if (embed != null)
|
||||||
// {
|
// {
|
||||||
// Sensitive information that might want to be deleted by :x: reaction is typically in an embed format (member cards, for example)
|
// 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
|
// but since we can, we just store all sent messages for possible deletion
|
||||||
await _commandMessageService.RegisterMessage(msg.Id, msg.ChannelId, Author.Id);
|
await _commandMessageService.RegisterMessage(msg.Id, msg.ChannelId, Author.Id);
|
||||||
// }
|
// }
|
||||||
|
|
||||||
return msg;
|
return msg;
|
||||||
|
|
|
||||||
|
|
@ -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
|
// 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);
|
var _ = TrySendRemainingAttachments(webhook, req.Name, req.AvatarUrl, attachmentChunks, req.ThreadId);
|
||||||
|
|
||||||
// for some reason discord may(?) return a null guildid here???
|
// for some reason discord may(?) return a null guildid here???
|
||||||
return webhookMessage with { GuildId = webhookMessage.GuildId ?? req.GuildId };
|
return webhookMessage with { GuildId = webhookMessage.GuildId ?? req.GuildId };
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue