pylint fixes

This commit is contained in:
SeaswimmerTheFsh 2023-06-20 01:06:40 -04:00
parent 3d26748dfc
commit 74af3fb5d1

View file

@ -68,7 +68,7 @@ class Client(commands.CommandsClient):
@commands.is_bot_owner()
async def prefix(self, ctx: commands.Context, new_prefix: str = None):
# This command sets the bot's prefix. CURRENTLY PARTIALLY BROKEN
if new_prefix is not None and True(commands.is_bot_owner):
if new_prefix is not None and bool(commands.is_bot_owner):
await Client.prefix_change(self=self, message=ctx.message, new_prefix=new_prefix)
else:
await ctx.message.reply(f"The prefix is currently set to `{prefix}`.")