Fixed some bugs

This commit is contained in:
Choco
2024-02-21 10:26:09 +08:00
parent efb5bf7b77
commit 7010c1327f
2 changed files with 2 additions and 2 deletions

View File

@@ -69,7 +69,7 @@ class Settings(commands.Cog, name="settings"):
async def prefix(self, ctx: commands.Context, prefix: str):
"Change the default prefix for message commands."
await update_settings(ctx.guild.id, {"$set": {"prefix": prefix}})
await send(ctx, "setPrefix", ctx.prefix, prefix)
await send(ctx, "setPrefix", prefix, prefix)
@settings.command(name="language", aliases=get_aliases("language"))
@commands.has_permissions(manage_guild=True)