We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c937c8 commit 152c77dCopy full SHA for 152c77d
desktop/core/src/desktop/lib/botserver/views.py
@@ -83,7 +83,7 @@ def parse_events(event_message):
83
84
def say_hi_user(channel, user_id):
85
"""Bot sends Hi<username> message in a specific channel"""
86
- bot_message = f'Hi <@{user_id}> :wave:'
+ bot_message = 'Hi <@{}> :wave:'.format(user_id)
87
response = slack_client.api_call(api_method='chat.postMessage', json={'channel': channel, 'text': bot_message})
88
return response
89
0 commit comments