first commit
This commit is contained in:
22
config.toml
Normal file
22
config.toml
Normal file
@@ -0,0 +1,22 @@
|
||||
#napcat配置
|
||||
bot_qq = 123456 #机器人q号
|
||||
root_qq = 1234567 # 管理员q号
|
||||
ws_uri = "ws://localhost:3001" # ws 地址, 可自定义端口, 默认 3001
|
||||
webui_uri = "http://localhost:6099" # webui 地址, 可自定义端口, 默认 6099
|
||||
webui_token = "napcat" # webui 令牌, 默认 napcat
|
||||
ws_token = "" # ws_uri 令牌, 默认留空
|
||||
ws_listen_ip = "localhost" # ws_uri 监听 ip, 默认 localhost 监听本机,监听全部则配置 0.0.0.0
|
||||
remote_mode = false # 是否远程模式, 即 NapCat 服务不在本机运行 ps:ncatbot官方已废弃该参数
|
||||
|
||||
# 功能配置
|
||||
allowed_groups = "all" # 授权群聊,all为全部,eg:[123456789, 987654321]
|
||||
allowed_users = "all" # 授权用户,all为全部,eg:[123456789, 987654321]
|
||||
velocity_ip = "127.0.0.1" # velocity ip
|
||||
velocity_port = 8080 # velocity port
|
||||
velocity_token = "your velocity_token" #`velocity token
|
||||
friend_auto = true # 好友自动同意
|
||||
group_auto = true # 无作用
|
||||
group_welcome = true # 入群欢迎
|
||||
group_welcome_message = "!at 欢迎加入本群,使用@bot /help获取此bot帮助" # 入群消息 !at 为@加群用户
|
||||
group_leave = true # 退群提醒
|
||||
group_leave_message = "用户{userid}退群了" # 退群消息 ,{userid}为退群用户id
|
||||
Reference in New Issue
Block a user