add versions
This commit is contained in:
parent
a7ad36b961
commit
d23f026b19
3 changed files with 7 additions and 3 deletions
|
|
@ -13,7 +13,7 @@ from telegram.ext import (
|
|||
from config import (
|
||||
TELEGRAM_BOT_TOKEN, PERIOD_OPTIONS, POLL_INTERVAL,
|
||||
POLL_TIMEOUT, DROP_PENDING_UPDATES, ALLOWED_UPDATES,
|
||||
LICHESS_STATS_API_BASE_URL, ADMINPANEL_TELEGRAM_BOT_TOKEN
|
||||
LICHESS_STATS_API_BASE_URL, ADMINPANEL_TELEGRAM_BOT_TOKEN, BOT_VERSION
|
||||
)
|
||||
from database import Database
|
||||
from lichess_api import LichessAPI
|
||||
|
|
@ -702,7 +702,7 @@ class LichessBot:
|
|||
async def support(self, update: Update, context: ContextTypes.DEFAULT_TYPE):
|
||||
"""Support command - show contact information"""
|
||||
lang = self.get_user_language_from_update(update)
|
||||
support_msg = t('support_message', lang)
|
||||
support_msg = t('support_message', lang, version=BOT_VERSION)
|
||||
await update.message.reply_text(support_msg, parse_mode='HTML')
|
||||
self.counters.increment('support')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue