summaryrefslogtreecommitdiff
path: root/DiscoBot/Commands/MiscCommands.cs
diff options
context:
space:
mode:
authorKobert-P <kassiaK@yahoo.de>2018-06-06 17:27:29 +0200
committerKobert-P <kassiaK@yahoo.de>2018-06-06 17:27:29 +0200
commit8396bb48937889a708da7ecb35b788fcef4f2eca (patch)
treea943eada01951e6f2f3095facd087a48b3105c9b /DiscoBot/Commands/MiscCommands.cs
parente541bd51f4dd1866129d764ca2fcfcde6240f22b (diff)
parent0b5fd9f180d9537f81f5dabf7692106a0127f849 (diff)
Merge branch 'master' of https://github.com/TrueDoctor/DiscoBot
Diffstat (limited to 'DiscoBot/Commands/MiscCommands.cs')
-rw-r--r--DiscoBot/Commands/MiscCommands.cs5
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());