Commit 1ef2bf5a authored by n0toose's avatar n0toose
Browse files

Move username in helpers.py to variable

parent 016f1dc3
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -100,6 +100,7 @@ async def upload_failed(
    platform: Optional[str] = None,
):
    _ = get_translation(lang)
    support_username = "@TorProjectSupportBot"

    """
    By default, we log a very limited amount of information that is normally enough to
@@ -125,7 +126,7 @@ async def upload_failed(
        + "</b>\n\n"
        + _("Something went wrong during the upload! " "Please try again later. ")
        + exception_text
        + "\n\n☎️: @TorProjectSupportBot "
        + "\n\n☎️: {username} ".format(username=support_username)
        + download_info,
        reply_markup=InlineKeyboardMarkup(
            [[InlineKeyboardButton(_("Main Menu"), "welcome:" + lang)]]