From 978fa489abf519b8629f824cec719d60c08e9c6a Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Fri, 8 Feb 2019 23:17:44 +0100 Subject: [PATCH] Move around stuff --- telegrambot.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/telegrambot.py b/telegrambot.py index 9a1b6cee..510cc94c 100644 --- a/telegrambot.py +++ b/telegrambot.py @@ -4,14 +4,12 @@ import typing import db import errors import stagismo -from sqlalchemy.sql import text # python-telegram-bot has a different name # noinspection PyPackageRequirements import telegram -IKMarkup = telegram.InlineKeyboardMarkup -IKButton = telegram.InlineKeyboardButton # noinspection PyPackageRequirements from telegram.ext import Updater, CommandHandler, CallbackQueryHandler +# noinspection PyPackageRequirements from telegram.error import TimedOut, Unauthorized, BadRequest, TelegramError import dice import sys @@ -25,6 +23,8 @@ import raven import coloredlogs import strings import time +IKMarkup = telegram.InlineKeyboardMarkup +IKButton = telegram.InlineKeyboardButton # Markov model try: