public static bool HasPermission(this SocketTextChannel channel, SocketGuildUser user, ChannelPermission permission) { return(user.GetPermissions(channel).ToList().Contains(permission)); }
/// <inheritdoc /> public ChannelPermissions GetPermissions(IGuildChannel channel) => SocketGuildUser.GetPermissions(channel);