allow members with manage guild to change guild prefix
This commit is contained in:
parent
8b538ba78d
commit
40e55ac316
1 changed files with 1 additions and 2 deletions
|
@ -247,8 +247,7 @@ async def ping(ctx):
|
||||||
|
|
||||||
|
|
||||||
@bot.command()
|
@bot.command()
|
||||||
@commands.guild_only()
|
@commands.has_guild_permissions(manage_guild=True)
|
||||||
@commands.is_owner()
|
|
||||||
async def prefix(ctx, prefix=None):
|
async def prefix(ctx, prefix=None):
|
||||||
if prefix is None:
|
if prefix is None:
|
||||||
prefix = await ctx.bot.get_guild_prefix(ctx.guild)
|
prefix = await ctx.bot.get_guild_prefix(ctx.guild)
|
||||||
|
|
Loading…
Reference in a new issue