Updated MSG's to raffle tickets instead of points.

This commit is contained in:
Sean "Solao Bajiuik" Stoves 2020-08-08 23:05:36 -04:00
parent f9b5531b47
commit 1abfb39aac

View File

@ -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);
}