mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-11 01:38:27 -04:00
Changed all == null to is null and all !(* == null) to * is not null
This commit is contained in:
@@ -168,7 +168,7 @@ namespace NadekoBot.Modules.Gambling
|
||||
.WithOkColor();
|
||||
|
||||
|
||||
if (msg == null)
|
||||
if (msg is null)
|
||||
msg = await ctx.Channel.EmbedAsync(embed).ConfigureAwait(false);
|
||||
else
|
||||
await msg.ModifyAsync(x => x.Embed = embed.Build()).ConfigureAwait(false);
|
||||
|
Reference in New Issue
Block a user