mirror of
https://github.com/cdryzun/tg_bot_collections.git
synced 2025-06-23 20:56:46 +08:00
chore: rename available_commands to list_available_commands
This commit is contained in:
@ -82,7 +82,7 @@ def load_handlers(bot: TeleBot, disable_commands: list[str]) -> None:
|
||||
print("Setting commands done.")
|
||||
|
||||
|
||||
def available_commands() -> list[str]:
|
||||
def list_available_commands() -> list[str]:
|
||||
commands = []
|
||||
this_path = Path(__file__).parent
|
||||
for child in this_path.iterdir():
|
||||
|
Reference in New Issue
Block a user