Skip to content

Commit ff93835

Browse files
authored
Fix missing perm check on dealias command (#1421)
1 parent 30cb64e commit ff93835

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

techsupport_bot/commands/factoids.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2330,6 +2330,7 @@ async def alias(
23302330
)
23312331

23322332
@auxiliary.with_typing
2333+
@commands.check(has_manage_factoids_role)
23332334
@commands.guild_only()
23342335
@factoid.command(
23352336
brief="Deletes only an alias",

0 commit comments

Comments
 (0)