.xprewsreset now has correct permissions

This commit is contained in:
Kwoth
2021-12-01 05:39:27 +01:00
parent 8499e1da70
commit 71f1e43272
2 changed files with 6 additions and 1 deletions

View File

@@ -39,6 +39,8 @@ namespace NadekoBot.Modules.Xp
}
[NadekoCommand, Aliases]
[RequireContext(ContextType.Guild)]
[RequireUserPermission(GuildPermission.Administrator)]
public async Task XpRewsReset()
{
var reply = await PromptUserConfirmAsync(_eb.Create()