mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-10 09:18:27 -04:00
Removed useless #if
This commit is contained in:
@@ -109,9 +109,7 @@ namespace NadekoBot.Modules.Utility
|
||||
await _tracker.EnsureUsersDownloadedAsync(ctx.Guild).ConfigureAwait(false);
|
||||
|
||||
var users = await ctx.Guild.GetUsersAsync(
|
||||
#if GLOBAL_NADEKO
|
||||
CacheMode.CacheOnly
|
||||
#endif
|
||||
);
|
||||
var roleUsers = users
|
||||
.Where(u => role is null ? u.RoleIds.Count == 1 : u.RoleIds.Contains(role.Id))
|
||||
|
Reference in New Issue
Block a user