fix(bot): ✏️ Update prefix command's max length error message.

This commit is contained in:
Nyeki.py
2024-10-17 02:11:07 -03:00
parent aaae63c420
commit 2c9db71c60
+1 -1
View File
@@ -49,7 +49,7 @@ class Admin(base.Cog):
try: try:
await self.bot.set_prefix(ctx.guild, prefix) await self.bot.set_prefix(ctx.guild, prefix)
except ValueError: except ValueError:
await ctx.send("❌ The prefix must not be longer than 3 characters.") await ctx.send("❌ The prefix must not be longer than 5 characters.")
return return
await ctx.send(f"✅ The prefix was set to `{prefix}`!") await ctx.send(f"✅ The prefix was set to `{prefix}`!")