diff options
Diffstat (limited to 'DiscoBot/Commands/MiscCommands.cs')
-rw-r--r-- | DiscoBot/Commands/MiscCommands.cs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/DiscoBot/Commands/MiscCommands.cs b/DiscoBot/Commands/MiscCommands.cs index 158882c..daf34e2 100644 --- a/DiscoBot/Commands/MiscCommands.cs +++ b/DiscoBot/Commands/MiscCommands.cs @@ -180,10 +180,7 @@ namespace DiscoBot.Commands [Alias("Check")] public async Task CheckAsync(string quarry) { - var perm = new List<string>(); - perm.Add("Admin"); - perm.Add("Mod"); - perm.Add("Privatpolizei"); + var perm = new List<string> { "Admin", "Mod", "Privatpolizei" }; Permissions.Test(this.Context, perm.ToArray()); |