mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-12 02:08:27 -04:00
Changed all == null to is null and all !(* == null) to * is not null
This commit is contained in:
@@ -268,7 +268,7 @@ namespace NadekoBot.Modules.Help
|
||||
{
|
||||
var channel = ctx.Channel;
|
||||
|
||||
if (com == null)
|
||||
if (com is null)
|
||||
{
|
||||
IMessageChannel ch = channel is ITextChannel
|
||||
? await ((IGuildUser)ctx.User).GetOrCreateDMChannelAsync().ConfigureAwait(false)
|
||||
|
Reference in New Issue
Block a user