CDK_Change/config.py

39 lines
944 B
Python
Raw Permalink 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": [
"魔兽世界",
"服务器特色"
],
# 广告语中必须包含的部分(正则表达式)
"required_patterns": [
r"推荐.*?[:].*", # 更宽松的推荐人格式匹配
r"服务器特色.*游戏内容" # 更宽松的特色部分匹配
]
}