tentatively add list command
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -31,12 +31,13 @@ class JournalHandler:
|
||||
|
||||
async def start(self, update, context):
|
||||
"""Send a message when the command /start is issued."""
|
||||
print(f"User: {update.message.from_user.id}")
|
||||
print(f"Chat: {update.message.chat_id}")
|
||||
|
||||
if os.getenv("DOCKERIZED", "false") == "true" and os.getenv("CHAT_ID") != str(update.message.chat_id):
|
||||
await update.message.reply_text("You are not authorized to use this bot")
|
||||
return ConversationHandler.END
|
||||
|
||||
print(f"User: {update.message.from_user.id}")
|
||||
print(f"Chat: {update.message.chat_id}")
|
||||
|
||||
options = [
|
||||
InlineKeyboardButton("Today", callback_data="today"),
|
||||
|
||||
Reference in New Issue
Block a user