allow members with manage guild to change guild prefix

This commit is contained in:
Infinidoge 2024-12-31 18:15:11 -05:00
parent 8b538ba78d
commit 40e55ac316
Signed by: Infinidoge
SSH key fingerprint: SHA256:GT2StvPQMMfFHyiiFJymQxfTG/z6EWLJ6NWItf5K5sA

View file

@ -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)