Skip to content

Commit

Permalink
MARV-00: spelling update
Browse files Browse the repository at this point in the history
  • Loading branch information
AJV009 committed Sep 5, 2023
1 parent 297ac55 commit 1c894e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions marvinslackbot/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit 1c894e9

Please sign in to comment.