From 1c894e975a51c8a1a8e5130c8ad4fab94d7c0444 Mon Sep 17 00:00:00 2001 From: Alphons Jaimon Date: Tue, 5 Sep 2023 08:47:52 +0530 Subject: [PATCH] MARV-00: spelling update --- marvinslackbot/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/marvinslackbot/main.py b/marvinslackbot/main.py index b8f6bc2..c912b91 100644 --- a/marvinslackbot/main.py +++ b/marvinslackbot/main.py @@ -68,8 +68,8 @@ def handle_message_events(body, logger): def summarize_week(ack, respond, command): ack() - channel_gaurdrail = os.environ.get('SLACK_CHANNEL_GAUARDRAIL') - if int(channel_gaurdrail): + channel_guardrail = os.environ.get('SLACK_CHANNEL_GUARDRAIL') + if int(channel_guardrail): channel_ids = os.environ.get('SLACK_CHANNEL_IDS').lower().split('-') if command["channel_id"].lower() not in channel_ids: respond("You are not authorized to use this command. Please contact the owner of this bot.", response_type='ephemeral')