Updated MSG's to raffle tickets instead of points.
This commit is contained in:
parent
f9b5531b47
commit
1abfb39aac
@ -58,7 +58,7 @@ namespace ChaosBot.Discord.Modules.User
|
|||||||
}
|
}
|
||||||
else if ((cmd.ToLower() == "delete") || (cmd.ToLower() == "del"))
|
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);
|
await DelRaffle(userMention);
|
||||||
}
|
}
|
||||||
@ -71,7 +71,7 @@ namespace ChaosBot.Discord.Modules.User
|
|||||||
{
|
{
|
||||||
await TotalRaffle();
|
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);
|
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(
|
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);
|
false);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -264,7 +264,7 @@ namespace ChaosBot.Discord.Modules.User
|
|||||||
}
|
}
|
||||||
|
|
||||||
await ReplyAsync(
|
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);
|
false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user