From ba72059ddec0ba391b0dae622fc431b67ccf9a43 Mon Sep 17 00:00:00 2001 From: Ian Burgwin Date: Mon, 21 Jun 2021 07:12:01 -0700 Subject: [PATCH] fix anonymous_staff not reading the config value properly --- run.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/run.py b/run.py index 86c3657..589cf02 100755 --- a/run.py +++ b/run.py @@ -343,7 +343,7 @@ async def on_message(message): await progress_msg.edit(content=f'Downloading attachments... {idx}/{count}') embed = discord.Embed(color=gen_color(int(client.last_id)), description=command_contents) - if config['Main']['anonymous_staff']: + if config['Main'].getboolean('anonymous_staff'): to_send = 'Staff reply: ' else: to_send = f'{author.mention}: ' @@ -443,7 +443,7 @@ async def on_message(message): await progress_msg.edit(content=f'Downloading attachments... {idx}/{count}') embed = discord.Embed(color=gen_color(int(command_name)), description=command_contents) - if config['Main']['anonymous_staff']: + if config['Main'].getboolean('anonymous_staff'): to_send = 'Staff reply: ' else: to_send = f'{author.mention}: '