Files
LGBot/src/config.py
2025-07-09 17:18:06 +03:00

31 lines
1.5 KiB
Python
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Директория, где хранятся модули
MODULES_DIR = 'modules'
# Название файла db sqlite
DATABASE_NAME = 'users.db'
# Сообщения команд
COMMAND_MESSAGES = {
'start': 'Бот-модератор для чата @linux_gaming_ru',
'help': 'пусто',
'manual_ban': (
' Использование бана:\n'
'1⃣ Ответьте на сообщение: <code>/ban</code>\n'
'2⃣ Укажите тэг: <code>/ban @username</code>\n'
'3⃣ Укажите ID: <code>/ban 123456789</code>'
),
'manual_unban': (
' Использование разбана:\n'
'1⃣ Ответьте на сообщение: <code>/unban</code>\n'
'2⃣ Укажите тэг: <code>/unban @username</code>\n'
'3⃣ Укажите ID: <code>/unban 123456789</code>'
),
'no_admin_rights': '❌ Только администраторы могут использовать эту команду.',
'no_restrict_rights': 'У вас недостаточно прав.',
'user_not_found': '❌ Пользователь не найден.',
'cant_ban_admin': '❌ Невозможно забанить администратора.',
'banned': '✅ Пользователь успешно забанен.',
'unbanned': '✅ Пользователь успешно разбанен.',
'general_error': '⚠️ Произошла непредвиденная ошибка.'
}