1
Fork 0
mirror of https://github.com/RYGhub/royal-mifia.git synced 2024-11-22 05:44:19 +00:00
This commit is contained in:
Steffo 2016-12-11 16:47:57 +01:00
parent 51c44fb67e
commit 018b073583

View file

@ -1094,7 +1094,11 @@ def selectpreset(bot, update):
def handleerror(bot, update, error):
bot.sendMessage(update.message.chat['id'], error)
try:
bot.sendMessage(update.message.chat['id'], error)
except AttributeError:
# Magari invece che pass are questo si potrebbe mandare un msg di debug o roba del genere
pass
updater.dispatcher.add_handler(CommandHandler('ping', ping))