diff --git a/ChaosBot/Discord/Modules/User/RaffleCmd.cs b/ChaosBot/Discord/Modules/User/RaffleCmd.cs index b449273..f4d9dc1 100644 --- a/ChaosBot/Discord/Modules/User/RaffleCmd.cs +++ b/ChaosBot/Discord/Modules/User/RaffleCmd.cs @@ -58,7 +58,7 @@ namespace ChaosBot.Discord.Modules.User } else if ((cmd.ToLower() == "delete") || (cmd.ToLower() == "del")) { - if((Amount == 0) && (await CheckPermissions.CheckPerms(Context, "points.remove", "Admin"))) + if((Amount == 0) && (await CheckPermissions.CheckPerms(Context, "raffle.remove", "Admin"))) { await DelRaffle(userMention); } @@ -71,7 +71,7 @@ namespace ChaosBot.Discord.Modules.User { await TotalRaffle(); } - else if ((cmd.ToLower() == "clear") && (await CheckPermissions.CheckPerms(Context, "points.clear", "Admin"))) + else if ((cmd.ToLower() == "clear") && (await CheckPermissions.CheckPerms(Context, "raffle.clear", "Admin"))) { await ClearRaffle(userMention); } @@ -150,7 +150,7 @@ namespace ChaosBot.Discord.Modules.User } - await ReplyAsync($"{Context.User.Mention}, you have {cur} points.", false); + await ReplyAsync($"{Context.User.Mention}, you have {cur} raffle tickets.", false); } @@ -231,7 +231,7 @@ namespace ChaosBot.Discord.Modules.User } await ReplyAsync( - $"{Context.User.Mention} has taken {Amount} points from <@{Convert.ToUInt64(userMention.Substring(3, userMention.Length - 4))}> leaving them with a total of {cur-Amount} points.", + $"{Context.User.Mention} has taken {Amount} raffle tickets from <@{Convert.ToUInt64(userMention.Substring(3, userMention.Length - 4))}> leaving them with a total of {cur-Amount} raffle tickets.", false); } @@ -264,7 +264,7 @@ namespace ChaosBot.Discord.Modules.User } await ReplyAsync( - $"{Context.User.Mention} has removed all points from <@{Convert.ToUInt64(userMention.Substring(3, userMention.Length - 4))}>.", + $"{Context.User.Mention} has removed all raffle tickets from <@{Convert.ToUInt64(userMention.Substring(3, userMention.Length - 4))}>.", false); }