diff options
Diffstat (limited to 'DiscoBot/Commands')
-rw-r--r-- | DiscoBot/Commands/List.cs | 2 | ||||
-rw-r--r-- | DiscoBot/Commands/MiscCommands.cs | 5 |
2 files changed, 3 insertions, 4 deletions
diff --git a/DiscoBot/Commands/List.cs b/DiscoBot/Commands/List.cs index 3e24ee2..9c745b2 100644 --- a/DiscoBot/Commands/List.cs +++ b/DiscoBot/Commands/List.cs @@ -21,6 +21,8 @@ var res = new List<string>(); var character = ((Character)Dsa.Chars.Find(x => x.Name.Equals(Dsa.Relation[this.Context.User.Username]))); + + switch (prop.ToLower()) { case "chars": 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()); |