fix embed queue
This commit is contained in:
parent
ded4f4db26
commit
8d4a7b1729
13 changed files with 188 additions and 32 deletions
|
|
@ -75,7 +75,7 @@ public class MessageDeleteResponder(
|
|||
if (msg.Member != null) builder.WithTitle($"Message by {msg.Username} deleted");
|
||||
|
||||
string channelMention;
|
||||
if (!channelCache.GetChannel(ev.ChannelID, out var channel))
|
||||
if (!channelCache.TryGet(ev.ChannelID, out var channel))
|
||||
channelMention = $"<#{msg.ChannelId}>";
|
||||
else if (channel.Type is ChannelType.AnnouncementThread or ChannelType.PrivateThread
|
||||
or ChannelType.PublicThread)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue