diff --git a/ChaosBot/Discord/Modules/RaffleSystem.cs b/ChaosBot/Discord/Modules/RaffleSystem.cs index 5e077f3..829952b 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:{Context.Guild.Id}:Max") >= amount) + if (Program.Cfg.GetValue($"Raffle:Servers:{Context.Guild.Id}:Max") >= amount) await RaffleCommandHelper("add", user, amount); else { await ReplyAsync( - $"You cannot give more then {Program.Cfg.GetValue($"Raffle:{Context.Guild.Id}:Max").ToString()} tickets at a time", false); + $"You cannot give more then {Program.Cfg.GetValue($"Raffle:Servers:{Context.Guild.Id}:Max").ToString()} tickets at a time", false); _logger.Warn($"{Context.User.Username} attempted to give {amount} tickets to {user}!"); } }