Set perms to be points.add not points.give.

This commit is contained in:
Sean "Solao Bajiuik" Stoves 2020-08-06 00:02:19 -04:00
parent e818b4f013
commit 44f04f9555

View File

@ -31,7 +31,7 @@ namespace ChaosBot.Discord.Modules.User
{ {
if(Amount != 0) if(Amount != 0)
{ {
Boolean adminAccess = await CheckPermissions.CheckPerms(Context, "points.give", "Admin"); Boolean adminAccess = await CheckPermissions.CheckPerms(Context, "points.add", "Admin");
await AddPoints(userMention, Amount, adminAccess); await AddPoints(userMention, Amount, adminAccess);
} }
else else