CDK_Change/config.py
2025-03-06 17:52:20 +08:00

40 lines
987 B
Python
Raw Blame History

This file contains ambiguous Unicode characters

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.

# 广告语模板配置
AD_TEMPLATE = """
{server_name} - 魔兽世界3.3.5a服务器
{name_type}{name}
服务器特色:
{server_features}
更多详情请访问:{website}
"""
# 推荐人类型文本
NAME_TYPES = {
"character": "推荐角色",
"account": "推荐账号"
}
# 服务器基本信息
SERVER_INFO = {
"server_name": "[AzerothCore]",
"server_features": """1. 稳定流畅的游戏体验
2. 专业的技术团队支持
3. 独特的游戏玩法
4. 丰富的游戏内容""",
"website": "www.example.com"
}
# 验证配置
VERIFICATION_CONFIG = {
# 必须包含的关键词
"required_keywords": [
"魔兽世界3.3.5a",
"服务器特色",
"游戏体验"
],
# 广告语中必须包含的部分(正则表达式)
"required_patterns": [
r"推荐(角色|账号).*?[\n\r]", # 确保包含推荐人信息
r"服务器特色:[\s\S]*?游戏内容" # 确保包含服务器特色部分
]
}