From d2ee23bdb70cc1a01a74fc44b0c42d0c294e1301 Mon Sep 17 00:00:00 2001 From: Sean Stoves Date: Wed, 3 Jun 2020 21:38:05 -0400 Subject: [PATCH] Fixing Typo --- ChaosBot/Discord/Modules/RaffleSystem.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ChaosBot/Discord/Modules/RaffleSystem.cs b/ChaosBot/Discord/Modules/RaffleSystem.cs index 41e69ca..6cc9494 100644 --- a/ChaosBot/Discord/Modules/RaffleSystem.cs +++ b/ChaosBot/Discord/Modules/RaffleSystem.cs @@ -60,12 +60,12 @@ namespace ChaosBot.Discord.Modules [RequireUserPermission(GuildPermission.ManageGuild)] public async Task RaffleCommandAdd(string user, int amount = 1) { - if (Program.Cfg.GetValue($"Raffle:Servers:{Context.Guild.Id}:Raffle:Max") >= amount) + if (Program.Cfg.GetValue($"Servers:{Context.Guild.Id}:Raffle:Max") >= amount) await RaffleCommandHelper("add", user, amount); else { await ReplyAsync( - $"You cannot give more then {Program.Cfg.GetValue($"Raffle:Servers:{Context.Guild.Id}:Raffle:Max").ToString()} tickets at a time", false); + $"You cannot give more then {Program.Cfg.GetValue($"Servers:{Context.Guild.Id}:Raffle:Max").ToString()} tickets at a time", false); _logger.Warn($"{Context.User.Username} attempted to give {amount} tickets to {user}!"); } }