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:
@@ -76,7 +76,7 @@ namespace NadekoBot.Extensions
|
||||
|
||||
var canPaginate = true;
|
||||
var sg = ctx.Guild as SocketGuild;
|
||||
if (!(sg is null) && !sg.CurrentUser.GetPermissions((IGuildChannel) ctx.Channel).AddReactions)
|
||||
if (sg is not null && !sg.CurrentUser.GetPermissions((IGuildChannel) ctx.Channel).AddReactions)
|
||||
canPaginate = false;
|
||||
|
||||
if (!canPaginate)
|
||||
|
Reference in New Issue
Block a user