added authentication to the bot. added bot commnads. added create button for when the db is empty or no data is available to show.

This commit is contained in:
Hosein
2026-01-05 23:40:13 +03:30
parent 4b5b24c97c
commit caac6c3a08
18 changed files with 369 additions and 47 deletions
+6 -1
View File
@@ -1,4 +1,9 @@
from telebot import types
from bot.handlers.start import startMessage
def register(bot):
@bot.message_handler(func=lambda message: True)
def handle_unknown(message):
bot.reply_to(message, f"You said: {message.text}")
bot.reply_to(
message, f"You said: {message.text}. send /start to get started.")