refactor(napcat): 重命名 MaiBot 为 MoFox-Bot
将日志和注释中的 "MaiBot" 实例更新为新的项目名称 "MoFox-Bot",以保持品牌一致性。
This commit is contained in:
committed by
Windpicker-owo
parent
b71f664888
commit
db1dc596d7
@@ -18,7 +18,7 @@ def create_router(plugin_config: dict):
|
|||||||
server = get_global_server()
|
server = get_global_server()
|
||||||
host = server.host
|
host = server.host
|
||||||
port = server.port
|
port = server.port
|
||||||
logger.debug(f"初始化MaiBot连接,使用地址:{host}:{port}")
|
logger.debug(f"初始化MoFox-Bot连接,使用地址:{host}:{port}")
|
||||||
route_config = RouteConfig(
|
route_config = RouteConfig(
|
||||||
route_config={
|
route_config={
|
||||||
platform_name: TargetConfig(
|
platform_name: TargetConfig(
|
||||||
@@ -33,7 +33,7 @@ def create_router(plugin_config: dict):
|
|||||||
|
|
||||||
async def mmc_start_com(plugin_config: dict | None = None):
|
async def mmc_start_com(plugin_config: dict | None = None):
|
||||||
"""启动MaiBot连接"""
|
"""启动MaiBot连接"""
|
||||||
logger.debug("正在连接MaiBot")
|
logger.debug("正在连接MoFox-Bot")
|
||||||
if plugin_config:
|
if plugin_config:
|
||||||
create_router(plugin_config)
|
create_router(plugin_config)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user