fix(bot): ✏️ Update prefix command's max length error message.
This commit is contained in:
@@ -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}`!")
|
||||||
|
|||||||
Reference in New Issue
Block a user