added prefix changing command

This commit is contained in:
NodeStorm 2020-08-15 21:57:17 +03:00 committed by GitHub
parent 36a2c9c321
commit 29a9ee2f8b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ class Basic(commands.Cog):
async def ping(self, ctx):
await ctx.send("pong!")
@commands.command()
@commands.command(aliases=["cp"], brief="Change the guild-wide bot prefix", usage="<prefix>")
@commands.guild_only()
@commands.has_permissions(manage_messages=True)
async def changeprefix(self, ctx, *, prefix):