From 3f45ba6a7379129e133d3cb10c541b2ffb47de5b Mon Sep 17 00:00:00 2001 From: Yash Garg Date: Thu, 28 May 2020 08:23:02 +0530 Subject: [PATCH] Fix start message using f strings (#94) Fixes #90 --- bot/__main__.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/bot/__main__.py b/bot/__main__.py index b4ba553..34df995 100644 --- a/bot/__main__.py +++ b/bot/__main__.py @@ -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