cogs/general.py
async def change_server_prefix(self, ctx, *, new_prefix):
        """Change the bots prefix for the guild."""
        db.guilds.update_one(
            {"_id": ctx.guild.id},
            {"$set": {"prefix": new_prefix}}
        )
        await ctx.send(f"Prefix changed to `{new_prefix}` {check_emoji()}")
Change the bots prefix for the guild.
Change the bots prefix for the guild.
Change the bots prefix for the guild .
async def change_server_prefix(self, ctx, *, new_prefix):
        db.guilds.update_one(
            {"_id": ctx.guild.id},
            {"$set": {"prefix": new_prefix}}
        )
        await ctx.send(f"Prefix changed to `{new_prefix}` {check_emoji()}")
async def change_server_prefix ( self , ctx , * , new_prefix ) : db . guilds . update_one ( { "_id" : ctx . guild . id } , { "$set" : { "prefix" : new_prefix } } ) await ctx . send ( f"Prefix changed to `{new_prefix}` {check_emoji()}" )
Change the bots prefix for the guild.
Change the bots prefix for the guild .
"""Change the bots prefix for the guild."""
self
ctx
new_prefix