1
0
Fork 0
mirror of synced 2024-06-02 02:34:32 +12:00

Corrected error where custom prefix cannot be removed

This commit is contained in:
phxntxm 2016-10-12 16:49:52 -05:00
parent 7dbebc8a44
commit bef4d48946

View file

@ -307,7 +307,7 @@ class Mod:
async def prefix(self, ctx, *, prefix: str):
"""This command can be used to set a custom prefix per server"""
r_filter = {'server_id': ctx.message.server.id}
if prefix.lower.strip() == "none":
if prefix.lower().strip() == "none":
prefix = None
entry = {'server_id': ctx.message.server.id,