From 40e55ac316e584fc2925f466e5493473d0ea3529 Mon Sep 17 00:00:00 2001 From: Infinidoge Date: Tue, 31 Dec 2024 18:15:11 -0500 Subject: [PATCH] allow members with manage guild to change guild prefix --- nomen/main.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/nomen/main.py b/nomen/main.py index 84710cd..c3f5b2e 100644 --- a/nomen/main.py +++ b/nomen/main.py @@ -247,8 +247,7 @@ async def ping(ctx): @bot.command() -@commands.guild_only() -@commands.is_owner() +@commands.has_guild_permissions(manage_guild=True) async def prefix(ctx, prefix=None): if prefix is None: prefix = await ctx.bot.get_guild_prefix(ctx.guild)