[壶言]一款各种自定义回复消息插件
-
@chenyang 旧数据不兼容问题,我处理一下,然后更新。
-
@chenyang 好了,这旧数据问题导致我现在没太好办法处理,所以我现在在重构2.0,但是会很慢
-
此回复已被删除! -
丢进plugin文件夹中运行console就行
运行一次之后停掉console
大佬,请问如何安装?我找到console文件夹了但不会搞。 -
@WLTZ0720 找到HuYanSession的文件夹,然后进去里面有个config,打开,配置主人和qq就行
-
@Moyuyanli 打扰了,请问该怎么编辑功能呢?
-
@WLTZ0720 编辑功能?不是很明白你的意思,你加一下群吧,我详细给你说明。
-
抱歉,请问是哪个群?群号是?
-
@WLTZ0720 文档最下面有个链接
-
这个群么?780594692
-
此回复已被删除! -
此回复已被删除! -
此回复已被删除! -
配置完欢迎词后,加群欢迎词还是默认的欢迎词
-
顺便提一个建议,就是欢迎词里如果能识别“加群者的ID”或者“退群者的ID”也许会更好一些(如下)
-
Gtk-Message: 13:53:37.165: Failed to load module "canberra-gtk-module"
| |) LuckPerms v2.10.0-dev-6+null
|_ | Running on Mirai Console - Mirai请问出现这个错误怎么解决
-
@KomeijiRan 我不建议手动到data里面改数据,所以如果可以尽量还是按照添加对应消息的步骤来,另外你说的这个群员是指at吗?如果是at的话,现在是默认就会at那个进群者。2.0我会加入参数识别,到时候就可以自定义了
-
@lijiale-max能不能提供一下更全面的日志了?
-
@Moyuyanli 好的,已经调整好了,感谢~
-
@Moyuyanli root@lee-desktop:/home/lee/Desktop/3-successful# ./mcl
15:22:23 [INFO] iTXTech Mirai Console Loader version 2.1.0-71ec418
15:22:23 [INFO] https://github.com/iTXTech/mirai-console-loader
15:22:23 [INFO] This program is licensed under GNU AGPL v3
15:22:30 [INFO] Mirai Console Loader Announcement:
Mirai Console Loader 公告栏如果在图片上传的时候遇到问题请与我们联系 (需要提供图片文件源本)
- 如 Unsupported image type for ExternalResource *
considering use gif/png/bmp/jpg format.
`- Tracker: https://github.com/mamoe/mirai/issues/new/choose常用资源整合
`- https://mirai.mamoe.net/topic/653MCL 已推出 2.1.0,更好的支持 Mirai 2.11 的插件系统,建议更新。
15:22:30 [INFO] Verifying "net.mamoe:mirai-console" v2.12.0
15:22:30 [INFO] Verifying "net.mamoe:mirai-console-terminal" v2.12.0
15:22:30 [INFO] Verifying "net.mamoe:mirai-core-all" v2.12.0
15:22:30 [INFO] Verifying "org.itxtech:mcl-addon" v2.0.2
15:22:30 [INFO] Verifying "net.mamoe:mirai-api-http" v2.5.2
15:22:30 [INFO] Verifying "net.mamoe:chat-command" v0.5.1
15:22:30 [WARN] Package "net.mamoe:chat-command" requires "net.mamoe:mirai-console" version 2.0-RC. Current version is 2.12.0
2022-07-12 15:22:33 I/main: Starting mirai-console...
2022-07-12 15:22:33 I/main: Backend: version 2.12.0, built on 2022-07-03 10:57:58.
2022-07-12 15:22:33 I/main: Frontend Terminal: version 2.12.0, provided by Mamoe Technologies
2022-07-12 15:22:33 I/main: Welcome to visit https://mirai.mamoe.net/
2022-07-12 15:22:34 W/stderr: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
2022-07-12 15:22:34 W/stderr: SLF4J: Defaulting to no-operation (NOP) logger implementation
2022-07-12 15:22:34 W/stderr: SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
2022-07-12 15:22:37 W/JvmPlugin[MiraiSongPlugin-2.7-1.1.7.jar]: Linked class net.mamoe.yamlkt.YamlElement in Comet-0.6.6-all (1).jar but plugin not depend on it.
2022-07-12 15:22:37 W/JvmPlugin[MiraiSongPlugin-2.7-1.1.7.jar]: Class loading logic may change in feature.
2022-07-12 15:22:37 I/plugin: Successfully loaded plugin net.mamoe.mirai-api-http v2.5.2
2022-07-12 15:22:38 W/LuckPerms: Linked class org.fusesource.jansi.Ansi in Comet-0.6.6-all (1).jar but plugin not depend on it.
2022-07-12 15:22:38 W/LuckPerms: Class loading logic may change in feature.
__
Gtk-Message: 15:22:39.107: Failed to load module "canberra-gtk-module"
| |) LuckPerms v2.10.0-dev-6+null
|_ | Running on Mirai Console - Mirai2022-07-12 15:22:39 I/LuckPerms: Loading configuration...
2022-07-12 15:22:40 I/LuckPerms: Loading storage provider... [H2]
2022-07-12 15:22:41 I/LuckPerms: Loading internal permission managers...
2022-07-12 15:22:42 I/LuckPerms: Performing initial data load...
2022-07-12 15:22:42 I/LuckPerms: Registering internal users....
2022-07-12 15:22:42 I/LuckPerms: Successfully enabled. (took 4094ms)
2022-07-12 15:22:42 I/plugin: Successfully loaded plugin LuckPerms v2.10.0-dev-6+null
2022-07-12 15:22:42 I/plugin: Successfully loaded plugin HuYanSession v1.11
2022-07-12 15:22:42 I/plugin: Successfully loaded plugin 一个围棋插件 v0.0.1
2022-07-12 15:22:42 I/plugin: Successfully loaded plugin TuLingBot v1.7.0
2022-07-12 15:22:42 I/plugin: Successfully loaded plugin J Nudge Reply v1.1.0
2022-07-12 15:22:42 I/plugin: Successfully loaded plugin Comet v0.6.7-mirai-console-24c4cd8b
2022-07-12 15:22:42 I/plugin: Successfully loaded plugin Setu v3.6.3
2022-07-12 15:22:42 I/plugin: Successfully loaded plugin Chat Command v0.5.0
2022-07-12 15:22:42 I/plugin: Successfully loaded plugin 点歌插件 v1.1.7
2022-07-12 15:22:42 I/plugin: Successfully loaded plugin MCL Addon v2.0.2
2022-07-12 15:22:42 I/main: Loaded PermissionService from plugin LuckPerms
2022-07-12 15:22:43 I/main: Prepared built-in commands: autoLogin, help, login, logout, permission, status, stop
2022-07-12 15:22:44 W/net.mamoe.mirai-api-http: Linked class net.mamoe.yamlkt.YamlElement in Comet-0.6.6-all (1).jar but plugin not depend on it.
2022-07-12 15:22:44 W/net.mamoe.mirai-api-http: Class loading logic may change in feature.
2022-07-12 15:22:44 I/Mirai HTTP API: ********************************************************
2022-07-12 15:22:44 W/stderr: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
2022-07-12 15:22:44 W/stderr: SLF4J: Defaulting to no-operation (NOP) logger implementation
2022-07-12 15:22:44 W/stderr: SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
2022-07-12 15:22:45 I/http adapter: >>> [http adapter] is listening at http://localhost:8080
2022-07-12 15:22:45 I/Mirai HTTP API: Http api server is running with verifyKey: 123456
2022-07-12 15:22:45 I/Mirai HTTP API: adaptors: [http]
2022-07-12 15:22:45 I/Mirai HTTP API: ********************************************************
2022-07-12 15:22:45 I/HuYanSession: ================HuYan================
2022-07-12 15:22:45 I/HuYanSession: HuYanSession 加载!
2022-07-12 15:22:45 I/HuYanSession: HuYanConfig 已加载!
2022-07-12 15:22:45 I/HuYanSession: 主人已设置->3560701871
2022-07-12 15:22:45 I/HuYanSession: 机器人已设置->1038114571
2022-07-12 15:22:45 I/HuYanSession: GroupData 已加载!
2022-07-12 15:22:45 I/HuYanSession: SessionData 已加载!
2022-07-12 15:22:46 I/HuYanSession: TimingData 已加载!
2022-07-12 15:22:46 I/HuYanSession: 所有定时器已加载!
2022-07-12 15:22:46 I/HuYanSession: =====================================
2022-07-12 15:22:47 I/一个围棋插件: test loaded
2022-07-12 15:22:47 I/J Nudge Reply: Plugin loaded
2022-07-12 15:22:48 I/Comet: 22/7/12 15:22:48 INFO/I Comet ->______ __ / ____/___ ____ ___ ___ / /_ / / / __ \/ __ `__ \/ _ \/ __/ / /___/ /_/ / / / / / / __/ /_ \____/\____/_/ /_/ /_/\___/\__/
2022-07-12 15:22:48 I/Comet: 22/7/12 15:22:48 INFO/I CometService -> 正在加载资源文件...
2022-07-12 15:22:48 W/Comet: Linked class net.mamoe.yamlkt.Yaml in Comet-0.6.6-all (1).jar but plugin not depend on it.
2022-07-12 15:22:48 W/Comet: Class loading logic may change in feature.
2022-07-12 15:22:48 I/Comet: 22/7/12 15:22:48 INFO/I CometService -> 正在加载内嵌资源文件...
2022-07-12 15:22:48 I/Comet: 22/7/12 15:22:48 INFO/I CometService -> 加载资源文件失败, 部分需要资源的功能将无法使用
2022-07-12 15:22:48 I/Comet: 22/7/12 15:22:48 INFO/I CometService -> 尝试加载资源文件用时 8毫秒
2022-07-12 15:22:49 I/Comet: 22/7/12 15:22:49 INFO/I CometService -> 已加载了 97 个用户数据.
2022-07-12 15:22:51 I/Comet: 22/7/12 15:22:51 INFO/I CometService -> 成功载入明日方舟游戏数据, 共 345 个干员
2022-07-12 15:22:51 I/Comet: 22/7/12 15:22:51 INFO/I CometService -> 检测到 Linux 系统, 正在启用无头模式
2022-07-12 15:22:51 W/Comet: 22/7/12 15:22:51 WARN/W CometService -> 无法加载默认明日方舟数据: default_arknight.json 不存在
2022-07-12 15:22:51 I/Comet: 22/7/12 15:22:51 INFO/I CometService -> 正在下载 明日方舟图片资源文件
2022-07-12 15:22:51 I/Comet: 22/7/12 15:22:51 INFO/I CometService -> API设置 已加载 5 个配置
2022-07-12 15:22:51 I/Comet: 22/7/12 15:22:51 INFO/I CometService -> 数据文件加载完成.
2022-07-12 15:22:52 I/Comet: 22/7/12 15:22:52 INFO/I Comet -> [命令] 已注册 28 个命令
2022-07-12 15:22:52 I/Setu: Setu >> Enable.
2022-07-12 15:22:52 I/Setu: Start Init...
2022-07-12 15:22:52 I/Setu: [FileSystem] Init FileSystem.
2022-07-12 15:22:52 I/Setu: [FileSystem] Init All Configs...
2022-07-12 15:22:52 I/Setu: [FileSystem] Init >> ApplicationConfig.json
2022-07-12 15:22:52 I/Setu: [FileSystem] Load Local File to Memory >> ApplicationConfig.json
2022-07-12 15:22:52 I/Setu: [CommandSystem] Init CommandSystem.
2022-07-12 15:22:52 I/Setu: End Init...
ffmpeg version 3.4.11-0ubuntu0.1 Copyright (c) 2000-2022 the FFmpeg developers
built with gcc 7 (Ubuntu/Linaro 7.5.0-3ubuntu1~18.04)
configuration: --prefix=/usr --extra-version=0ubuntu0.1 --toolchain=hardened --libdir=/usr/lib/aarch64-linux-gnu --incdir=/usr/include/aarch64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-librsvg --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared
libavutil 55. 78.100 / 55. 78.100
libavcodec 57.107.100 / 57.107.100
libavformat 57. 83.100 / 57. 83.100
libavdevice 57. 10.100 / 57. 10.100
libavfilter 6.107.100 / 6.107.100
libavresample 3. 7. 0 / 3. 7. 0
libswscale 4. 8.100 / 4. 8.100
libswresample 2. 9.100 / 2. 9.100
libpostproc 54. 7.100 / 54. 7.100
2022-07-12 15:22:53 I/点歌插件: 当前配置项:宽域AMR:true AMR自动大小:false
2022-07-12 15:22:53 I/点歌插件: 插件加载完毕!
2022-07-12 15:22:53 I/MCL Addon: iTXTech MCL Version: 2.1.0-71ec418
2022-07-12 15:22:53 W/MCL Addon: iTXTech Soyuz 未安装,Soyuz MCL Handler 特性已禁用
2022-07-12 15:22:53 I/main: 11 plugin(s) enabled.
2022-07-12 15:22:53 I/WindowHelperJvm: Mirai 正在使用桌面环境. 如遇到验证码将会弹出对话框. 可添加 JVM 属性mirai.no-desktop
以关闭.
2022-07-12 15:22:53 I/WindowHelperJvm: Mirai is using desktop. Captcha will be thrown by window popup. You can addmirai.no-desktop
to JVM properties (-Dmirai.no-desktop) to disable it.
2022-07-12 15:22:53 I/main: Auto-login 1038114571
2022-07-12 15:22:54 W/stderr: ERROR StatusLogger Log4j2 could not find a logging implementation. Please add log4j-core to the classpath. Using SimpleLogger to log to the console...
2022-07-12 15:22:55 I/Bot.1038114571: Loaded account secrets from local cache.
2022-07-12 15:22:56 I/Bot.1038114571: Saved account secrets to local cache for fast login.
2022-07-12 15:22:56 I/Bot.1038114571: Login successful.
2022-07-12 15:22:57 V/Bot.1038114571: Event: BotOnlineEvent(bot=Bot(1038114571))
2022-07-12 15:22:57 I/Comet: 22/7/12 15:22:57 INFO/I Comet -> [监听器] 已注册 哔哩哔哩解析 监听器
2022-07-12 15:22:57 I/Comet: 22/7/12 15:22:57 INFO/I Comet -> [监听器] 已注册 复读机 监听器
2022-07-12 15:22:57 I/Comet: 22/7/12 15:22:57 INFO/I Comet -> [监听器] 已注册 群变动监听 监听器
2022-07-12 15:22:57 I/Comet: 22/7/12 15:22:57 INFO/I Comet -> [监听器] 已注册 关键词回复 监听器
2022-07-12 15:22:57 I/Comet: 22/7/12 15:22:57 INFO/I Comet -> [监听器] 已注册 群聊欢迎 监听器
2022-07-12 15:22:57 I/Comet: 22/7/12 15:22:57 INFO/I Comet -> [监听器] 已注册 自动通过入群申请 监听器
2022-07-12 15:22:57 I/Comet: 22/7/12 15:22:57 INFO/I Comet -> [监听器] 已注册 消息发送处理 监听器
2022-07-12 15:22:58 I/Comet: 22/7/12 15:22:58 INFO/I Comet -> [配置] 成功加载了 12 个群配置
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by retrofit2.Platform (file:/home/lee/Desktop/3-successful/plugins/Comet-0.6.7-mirai-console-24c4cd8b.mirai%20(1).jar) to constructor java.lang.invoke.MethodHandles$Lookup(java.lang.Class,int)
WARNING: Please consider reporting this to the maintainers of retrofit2.Platform
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
2022-07-12 15:22:58 I/stdout: [2022-07-12 15:22:58] [DEBUG] cn.hutool.log.LogFactory: Use [Hutool Console Logging] Logger As Default.
2022-07-12 15:22:58 I/Comet: 22/7/12 15:22:58 INFO/I CometService -> 推送器 加载 bili_dynamic 数据成功
2022-07-12 15:22:58 I/Comet: 22/7/12 15:22:58 INFO/I CometService -> 推送器 加载 bili_live 数据成功
2022-07-12 15:22:58 I/Comet: 22/7/12 15:22:58 INFO/I CometService -> 推送器 加载 twitter 数据成功
2022-07-12 15:22:58 W/stderr: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
2022-07-12 15:22:58 W/stderr: SLF4J: Defaulting to no-operation (NOP) logger implementation
2022-07-12 15:22:58 W/stderr: SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
2022-07-12 15:22:59 I/Comet: 22/7/12 15:22:59 INFO/I CometNet -> WebHook 服务器启动! 运行在端口 6789
2022-07-12 15:22:59 I/Comet: 22/7/12 15:22:59 INFO/I Comet -> 彗星 Bot 启动成功, 版本 0.6.7-mirai-console-24c4cd8b, 耗时 10秒
2022-07-12 15:22:59 I/Bot.1038114571: Bot login successful.
2022-07-12 15:22:59 I/Comet: 22/7/12 15:22:59 INFO/I CometService -> 明日方舟 已加载了 0 个干员至卡池 标准寻访
2022-07-12 15:22:59 I/Comet: 22/7/12 15:22:59 INFO/I CometService -> 成功载入了 0 个自定义卡池!
2022-07-12 15:22:59 I/main: mirai-console started successfully./stop
Stopping mirai-console
2022-07-12 15:23:08 V/Bot.1038114571: Event: BotOfflineEvent.Active(bot=Bot(1038114571), cause=kotlinx.coroutines.JobCancellationException: Job was cancelled; job=SupervisorJobImpl{Cancelling}@728e8a8c, reconnect=false)
2022-07-12 15:23:08 I/Bot.1038114571: Bot cancelled: Job was cancelled
2022-07-12 15:23:08 I/HuYanSession: HuYanSession已卸载!
2022-07-12 15:23:08 I/Setu: Setu >> Disable.
2022-07-12 15:23:08 I/Comet: 22/7/12 15:23:08 INFO/I Comet -> [Bot] 正在关闭 Bot...
2022-07-12 15:23:08 I/stdout: [2022-07-12 15:23:08] [DEBUG] cn.hutool.cron.CronTimer: Hutool-cron timer stopped.
2022-07-12 15:23:08 I/Comet: 22/7/12 15:23:08 INFO/I CometService -> 已保存所有群配置
2022-07-12 15:23:08 I/Comet: 22/7/12 15:23:08 INFO/I CometService -> [数据] 自动保存数据完成
2022-07-12 15:23:11 I/LuckPerms: Starting shutdown process...
2022-07-12 15:23:11 I/LuckPerms: Closing storage...2022-07-12 15:23:11 I/LuckPerms: Goodbye!
2022-07-12 15:23:11 I/LuckPerms: Starting shutdown process...
2022-07-12 15:23:11 I/LuckPerms: Closing storage...
2022-07-12 15:23:11 I/LuckPerms: Goodbye!
报错在15:22:39