mirror of
https://github.com/eternnoir/pyTelegramBotAPI.git
synced 2023-08-10 21:12:57 +03:00
small fix
Fixed "ERROR - TeleBot: "message_handler: Commands filter should be list of strings (commands), unknown type supplied to the 'commands' filter list. Not able to use the supplied type."
This commit is contained in:
parent
7c12162576
commit
9d9e76e724
@ -47,7 +47,7 @@ def start_ex(message):
|
|||||||
|
|
||||||
|
|
||||||
# Any state
|
# Any state
|
||||||
@bot.message_handler(state="*", commands='cancel')
|
@bot.message_handler(state="*", commands=['cancel'])
|
||||||
def any_state(message):
|
def any_state(message):
|
||||||
"""
|
"""
|
||||||
Cancel state
|
Cancel state
|
||||||
|
Loading…
Reference in New Issue
Block a user