feat/9-login-system #15

Merged
benjamyn merged 7 commits from feat/9-login-system into main 2023-03-09 01:52:01 -05:00
Showing only changes of commit 30fc36a461 - Show all commits

View File

@ -104,7 +104,7 @@ def format_response(event):
text = 'Thanks for adding me to a DM, {}!'.format(sender_name)
elif event_type == 'MESSAGE':
slash_command = event['messages']['space'].get('slashCommand')
slash_command = event['message'].get('slashCommand')
if slash_command:
text = f"You used a slash command with ID {slash_command['commandId']}"
else: