Update future-fstrings and stop concatenating multiline strings

This commit is contained in:
Tulir Asokan
2018-02-18 11:24:51 +02:00
parent c1f582f17a
commit 7dc5384d52
13 changed files with 40 additions and 43 deletions
+3 -3
View File
@@ -42,9 +42,9 @@ async def ping_bot(evt):
hs = evt.config["homeserver"]["domain"]
mxid = f"@{localpart}:{hs}"
displayname = bot_info.first_name
return await evt.reply(f"Telegram message relay bot is active: "
+ f"[{displayname}](https://matrix.to/#/{mxid}) (ID {bot_info.id})\n\n"
+ f"To use the bot, simply invite it to a portal room.")
return await evt.reply("Telegram message relay bot is active: "
f"[{displayname}](https://matrix.to/#/{mxid}) (ID {bot_info.id})\n\n"
"To use the bot, simply invite it to a portal room.")
@command_handler(needs_auth=False, management_only=True)