Skip to content

Commit

Permalink
invites
Browse files Browse the repository at this point in the history
  • Loading branch information
Erisa authored Sep 24, 2024
1 parent 89d8aef commit d420329
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Events/MessageEvent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ public static async Task MessageHandlerAsync(DiscordClient client, MockDiscordMe
break;
}

if (invite == default)
if (invite == default || invite.Channel is null)
{
continue;
}
Expand Down

0 comments on commit d420329

Please sign in to comment.