feed the bot from wherever resolves #5
This commit is contained in:
parent
0600473f06
commit
cdac03692c
1 changed files with 2 additions and 1 deletions
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in a new issue