Replace RequireUserPemission with UserPerm

This commit is contained in:
Alan Beatty
2021-12-13 13:06:28 +00:00
committed by Kwoth
parent fcc49dbbdb
commit 1c24f95efa
5 changed files with 13 additions and 13 deletions

View File

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