Add on-target, off-traget, and no-target buttons for accountability tracking.

main
felixm 2024-03-11 17:52:44 -04:00
parent cbe4db15e8
commit 3ddfb6789e
1 changed files with 3 additions and 0 deletions

View File

@ -92,6 +92,9 @@ class UserData:
def get_ping_reply_markup(self):
keyboard = []
keyboard.append([InlineKeyboardButton("🎯 on-target", callback_data="on-target"),
InlineKeyboardButton("❌ off-target", callback_data="off-target"),
InlineKeyboardButton("⭕ no-target", callback_data="no-target"),])
tags_per_row = 5
tags = list(sorted(self.tags))
for i in range(0, len(tags), tags_per_row):