chore: lint
This commit is contained in:
parent
6b4f620c7f
commit
cc0edd3ed8
@ -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…
x
Reference in New Issue
Block a user