Set perms to be points.add not points.give.
This commit is contained in:
parent
e818b4f013
commit
44f04f9555
@ -31,7 +31,7 @@ namespace ChaosBot.Discord.Modules.User
|
||||
{
|
||||
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);
|
||||
}
|
||||
else
|
||||
|
||||
Loading…
Reference in New Issue
Block a user