From 588b5c4d896f1a71ac0fcf4f69443eb2fc53682e Mon Sep 17 00:00:00 2001 From: _run Date: Mon, 24 Jan 2022 21:28:56 +0400 Subject: [PATCH] Fix parameter for example --- examples/asynchronous_telebot/custom_states.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/asynchronous_telebot/custom_states.py b/examples/asynchronous_telebot/custom_states.py index 01cc66d..e999d43 100644 --- a/examples/asynchronous_telebot/custom_states.py +++ b/examples/asynchronous_telebot/custom_states.py @@ -9,7 +9,7 @@ from telebot.asyncio_storage import StateRedisStorage,StateMemoryStorage,StatePi from telebot.asyncio_handler_backends import State, StatesGroup # default state storage is statememorystorage -bot = AsyncTeleBot('TOKEN', states_storage=StateMemoryStorage()) +bot = AsyncTeleBot('TOKEN', state_storage=StateMemoryStorage()) # Just create different statesgroup