mirror of
https://github.com/FerraSoft/bottohelp.git
synced 2026-08-06 21:55:03 +00:00
feat: replace hardcoded text with variable in bot.py line 183
This commit is contained in:
@@ -180,7 +180,7 @@ ID: {user_info['ID']}
|
||||
Роль: {user_info['Роль']}
|
||||
"""
|
||||
else:
|
||||
info_text = "Информация не найдена."
|
||||
info_text = USER_MESSAGES['info_not_found']
|
||||
|
||||
await update.message.reply_text(info_text, parse_mode='HTML')
|
||||
|
||||
|
||||
@@ -250,6 +250,7 @@ USER_MESSAGES = {
|
||||
'welcome_new_user': '''🎉 Добро пожаловать в чат, {name}!
|
||||
|
||||
Мы рады видеть вас здесь! Используйте /help чтобы узнать о возможностях бота.''',
|
||||
'info_not_found': 'Информация не найдена.',
|
||||
}
|
||||
|
||||
# Сообщения инлайнового поиска
|
||||
|
||||
Reference in New Issue
Block a user