This commit is contained in:
2023-11-29 16:00:38 +03:00
parent c0c10af937
commit 934be8fdb9
2 changed files with 40 additions and 0 deletions

View File

@ -540,6 +540,18 @@ async def chatid(msg: Message):
await bot.send_message(chat_id=msg.chat.id, text=msg.chat.id)
@bot.message_handler(commands=["guide"])
async def guide(msg: Message):
await bot.send_message(chat_id=msg.chat.id, text=textbook.guide, parse_mode="html")
@bot.message_handler(commands=["commands"])
async def commands(msg: Message):
await bot.send_message(
chat_id=msg.chat.id, text=textbook.commands, parse_mode="html"
)
async def main():
a = asyncio.create_task(bot.polling(non_stop=True))
await a