From 1abfb39aac1784f15f802de493a062f6bd9b9309 Mon Sep 17 00:00:00 2001 From: Sean Stoves Date: Sat, 8 Aug 2020 23:05:36 -0400 Subject: [PATCH] Updated MSG's to raffle tickets instead of points. --- ChaosBot/Discord/Modules/User/RaffleCmd.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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); }