Fix start message using f strings (#94)

Fixes #90
This commit is contained in:
Yash Garg 2020-05-28 08:23:02 +05:30 committed by GitHub
parent b6b8a416e9
commit 3f45ba6a73
Signed by untrusted user: GitHub
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,8 +31,11 @@ def stats(update, context):
@run_async
def start(update, context):
sendMessage("This is a bot which can mirror all your links to Google drive!\n"
"Type /{BotCommands.HelpCommand} to get a list of available commands", context.bot, update)
start_string = f'''
This is a bot which can mirror all your links to Google drive!
Type /{BotCommands.HelpCommand} to get a list of available commands
'''
sendMessage(start_string, context.bot, update)
@run_async