feed the bot from wherever resolves #5

This commit is contained in:
Morgan McMillian 2018-08-02 16:50:33 -07:00
parent 0600473f06
commit cdac03692c

View file

@ -140,8 +140,9 @@ if __name__ == "__main__":
bot.add_handler(MRegexHandler("([\w]+)\s?(\-\-|\+\+|\+=|\-=)", karma_cb))
bot.add_handler(MCommandHandler("karma", show_karma_cb))
bot.add_handler(MCommandHandler("botsnack", botsnack_cb))
bot.add_handler(MRegexHandler("\s!botsnack", botsnack_cb))
bot.add_handler(MCommandHandler("botdrink", botdrink_cb))
# bot.add_handler(MRegexHandler("\s?\\m\/\s?", metal_cb)) # Regex is hard or something
bot.add_handler(MRegexHandler("\s!botdrink", botdrink_cb))
bot.start_polling()