Skip to content

Commit 687d8f0

Browse files
committed
Fix default perms for whois commands
1 parent 3741d3c commit 687d8f0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/extensions/moderation.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
@plugin.include
2828
@arc.slash_command(
29-
"whois", "Show user information about the target user.", default_permissions=hikari.Permissions.MANAGE_GUILD
29+
"whois", "Show user information about the target user.", default_permissions=hikari.Permissions.MANAGE_MESSAGES
3030
)
3131
async def whois(
3232
ctx: SnedContext,
@@ -37,7 +37,7 @@ async def whois(
3737

3838

3939
@plugin.include
40-
@arc.user_command("Show Userinfo")
40+
@arc.user_command("Show Userinfo", default_permissions=hikari.Permissions.MANAGE_MESSAGES)
4141
async def whois_user_command(
4242
ctx: SnedContext,
4343
target: hikari.User,

0 commit comments

Comments
 (0)