mirror of
https://github.com/eternnoir/pyTelegramBotAPI.git
synced 2023-08-10 21:12:57 +03:00
fix: wrong arguments usage (fix fa038c2
)
This commit is contained in:
parent
65a272b901
commit
54eba946be
@ -1496,12 +1496,12 @@ class AsyncTeleBot(TeleBot):
|
|||||||
TeleBot.__init__(self, *args, **kwargs)
|
TeleBot.__init__(self, *args, **kwargs)
|
||||||
|
|
||||||
@util.async_dec()
|
@util.async_dec()
|
||||||
def enable_save_next_step_handlers(self, delay=120, filename="./.handler-saves/step.save", del_file_after_loading=True):
|
def enable_save_next_step_handlers(self, delay=120, filename="./.handler-saves/step.save"):
|
||||||
return TeleBot.enable_save_next_step_handlers(self, delay, filename, del_file_after_loading)
|
return TeleBot.enable_save_next_step_handlers(self, delay, filename)
|
||||||
|
|
||||||
@util.async_dec()
|
@util.async_dec()
|
||||||
def enable_save_reply_handlers(self, delay=120, filename="./.handler-saves/reply.save", del_file_after_loading=True):
|
def enable_save_reply_handlers(self, delay=120, filename="./.handler-saves/reply.save"):
|
||||||
return TeleBot.enable_save_reply_handlers(self, delay, filename, del_file_after_loading)
|
return TeleBot.enable_save_reply_handlers(self, delay, filename)
|
||||||
|
|
||||||
@util.async_dec()
|
@util.async_dec()
|
||||||
def disable_save_next_step_handlers(self):
|
def disable_save_next_step_handlers(self):
|
||||||
@ -1512,12 +1512,12 @@ class AsyncTeleBot(TeleBot):
|
|||||||
return TeleBot.enable_save_reply_handlers(self)
|
return TeleBot.enable_save_reply_handlers(self)
|
||||||
|
|
||||||
@util.async_dec()
|
@util.async_dec()
|
||||||
def load_next_step_handlers(self, filename="./.handler-saves/step.save"):
|
def load_next_step_handlers(self, filename="./.handler-saves/step.save", del_file_after_loading=True):
|
||||||
return TeleBot.load_next_step_handlers(self, filename)
|
return TeleBot.load_next_step_handlers(self, filename, del_file_after_loading)
|
||||||
|
|
||||||
@util.async_dec()
|
@util.async_dec()
|
||||||
def load_reply_handlers(self, filename="./.handler-saves/reply.save"):
|
def load_reply_handlers(self, filename="./.handler-saves/reply.save", del_file_after_loading=True):
|
||||||
return TeleBot.load_reply_handlers(self, filename)
|
return TeleBot.load_reply_handlers(self, filename, del_file_after_loading)
|
||||||
|
|
||||||
@util.async_dec()
|
@util.async_dec()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user