Fixing error that 5 character prefixes won't work

pull/8/head
sgoudham 4 years ago
parent 00c4a1082b
commit e67ff3699e

@ -159,7 +159,7 @@ async def change_prefix(ctx, new: Optional[str] = None):
"""View/Change Guild Prefix"""
# As long as a new prefix has been given and is less than 5 characters
if new and len(new) < 5:
if new and len(new) <= 5:
# Store the new prefix in the dictionary and update the database
await storage_prefix_for_guild(ctx, new)

Loading…
Cancel
Save