mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 13:06:50 +00:00
fix(bot): incorrect conditional in logclean
This commit is contained in:
parent
6c4bd2cc26
commit
c156951e19
1 changed files with 1 additions and 1 deletions
|
|
@ -95,7 +95,7 @@ public class MessageCreated: IEventHandler<MessageCreateEvent>
|
|||
|
||||
private async Task TryHandleLogClean(Channel channel, MessageCreateEvent evt)
|
||||
{
|
||||
if (evt.GuildId != null) return;
|
||||
if (evt.GuildId == null) return;
|
||||
if (channel.Type != Channel.ChannelType.GuildText) return;
|
||||
|
||||
var guildSettings = await _repo.GetGuild(evt.GuildId!.Value);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue