Skip to content

Commit 152c77d

Browse files
Harshg999sreenaths
authored andcommitted
Change f-string to .format()
1 parent 1c937c8 commit 152c77d

File tree

1 file changed

+1
-1
lines changed
  • desktop/core/src/desktop/lib/botserver

1 file changed

+1
-1
lines changed

desktop/core/src/desktop/lib/botserver/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def parse_events(event_message):
8383

8484
def say_hi_user(channel, user_id):
8585
"""Bot sends Hi<username> message in a specific channel"""
86-
bot_message = f'Hi <@{user_id}> :wave:'
86+
bot_message = 'Hi <@{}> :wave:'.format(user_id)
8787
response = slack_client.api_call(api_method='chat.postMessage', json={'channel': channel, 'text': bot_message})
8888
return response
8989

0 commit comments

Comments
 (0)