<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[yPlugin——集成了一些小功能的插件]]></title><description><![CDATA[<h1>yPlug功能简介</h1>
<hr />
<p dir="auto">地址：<a href="https://github.com/296711867/mirai-console-QQ-Robot-yPlugin" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/296711867/mirai-console-QQ-Robot-yPlugin</a></p>
<hr />
<p dir="auto"><strong>小y助手：一个自用的机器人插件，集成了一些小功能，执行一些简单的命令</strong></p>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>功能名称</th>
<th>发送类型</th>
<th>配置名称</th>
<th>功能命令</th>
</tr>
</thead>
<tbody>
<tr>
<td>新闻图片</td>
<td>图片</td>
<td>NewsImg</td>
<td>新闻</td>
</tr>
<tr>
<td>更多新闻</td>
<td>图片</td>
<td>Anews</td>
<td>更多</td>
</tr>
<tr>
<td>笑话</td>
<td>文字</td>
<td>LaughTalk</td>
<td>笑话</td>
</tr>
<tr>
<td>一言语句</td>
<td>文字</td>
<td>OneTalk</td>
<td>一言</td>
</tr>
<tr>
<td>舔狗日记</td>
<td>文字</td>
<td>DogTalk</td>
<td>舔狗</td>
</tr>
<tr>
<td><em>毒鸡汤</em></td>
<td>文字</td>
<td>SoupTalk</td>
<td>鸡汤</td>
</tr>
<tr>
<td>猫咪图片</td>
<td>图片</td>
<td>CatImg</td>
<td>猫咪</td>
</tr>
<tr>
<td><em>修狗图片</em></td>
<td>图片</td>
<td>DogImg</td>
<td>修狗</td>
</tr>
<tr>
<td>古风图片</td>
<td>图片</td>
<td>AncientImg</td>
<td>古风</td>
</tr>
<tr>
<td>摸鱼日历</td>
<td>图片</td>
<td>CalendarImg</td>
<td>摸鱼</td>
</tr>
<tr>
<td>美女图片</td>
<td>图片</td>
<td>GirlImage</td>
<td>美女</td>
</tr>
<tr>
<td>二次元图片</td>
<td>图片</td>
<td>PixivImg</td>
<td>二次元</td>
</tr>
<tr>
<td>功能列表</td>
<td>文字</td>
<td>Help</td>
<td>功能</td>
</tr>
</tbody>
</table>
<h1>使用说明</h1>
<h2>安装插件</h2>
<p dir="auto">去<code>release</code>界面下载jar包，然后放置到<code>plugins</code>文件下即可**（最好先简单的配置一下yPluginConfig.yml）**</p>
<hr />
<p dir="auto">下载地址：<a href="https://github.com/296711867/mirai-console-QQ-Robot-yPlugin/releases/tag/release1.0.1" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/296711867/mirai-console-QQ-Robot-yPlugin/releases/tag/release1.0.1</a></p>
<hr />
<p dir="auto">==注意== : <a href="https://github.com/sonder-joker/mirai-compose" target="_blank" rel="noopener noreferrer nofollow ugc">mirai-compose</a>因为mirai版本可能过旧，无法使用此插件，推荐使用<a href="https://github.com/iTXTech/mirai-console-loader" target="_blank" rel="noopener noreferrer nofollow ugc">mcl</a></p>
<h2>配置文件</h2>
<p dir="auto"><strong>创建配置文件</strong></p>
<p dir="auto">可以先在/config/yPlug.yplug的目录中，创建一个）</p>
<p dir="auto"><strong>说明</strong></p>
<p dir="auto">为了避免打扰群友与好友的考虑，插件默认不对任何群启用功能(<s>除非你的群正好命中了配置文件里默认生成的示例群号</s>)</p>
<p dir="auto">==注意==</p>
<p dir="auto">如果想使命令生效：</p>
<p dir="auto">需向<code>groupList</code>配置属性下添加对应的群号</p>
<p dir="auto">需向<code>friendList</code>配置属性下添加对应的好友QQ号</p>
<p dir="auto"><strong>配置文件结构（里面有详细的注释，可以按照自己的喜好，自行修改）</strong></p>
<pre><code class="language-yaml"># 开放群组
groupList: 
  - 123456789
  - 987654321

# 开放好友
friendList: 
  - 1234567
  - 7654321

# 图片存储路径
imageStorage: './data/image/yPlug/'

# 所有功能（true:开，false:关）
commandMap: 
  NewsImg: true           # 新闻图片
  Anews: true             # 更多新闻
  LaughTalk: true         # 笑话
  OneTalk: true           # 一言
  DogTalk: true           # 舔狗日记
  SoupTalk: true          # 毒鸡汤
  CatImg: true            # 猫咪图鉴
  DogImg: true            # 修狗图片
  AncientImg: true        # 古风图片
  CalendarImg: true       # 摸鱼日历
  CourseImage: true       # 课程图片
  GirlImage: true         # 美女图片
  PixivImg: true          # 二次元图片
  Author: true            # 作者信息
  Help: true              # 功能列表

# 获取图片的冷却时间
getRandImageCD: 10000

# 群发新闻任务 
# Open:（true为开，false为关闭）
# Cron:（cron表达式:设置定时任务【请自行百度】默认:'0 20 8 * * ?' ---每天早上8点20群发新闻）
# Zone:（时区设置:根据你所在的位置，可自行更换）
groupNewsJob: 
  Open: 'true'
  Cron: '0 20 8 * * ?'
  Zone: 'Asia/Shanghai'

# 群发摸鱼人日历 （每天中午12点群发日历）
groupCanlendarJob: 
  Open: 'true'
  Cron: '0 0 12 * * ?'
  Zone: 'Asia/Shanghai'
</code></pre>
]]></description><link>https://mirai.mamoe.net/topic/2078/yplugin-集成了一些小功能的插件</link><generator>RSS for Node</generator><lastBuildDate>Sun, 15 Mar 2026 20:21:43 GMT</lastBuildDate><atom:link href="https://mirai.mamoe.net/topic/2078.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 25 Feb 2023 14:44:37 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to yPlugin——集成了一些小功能的插件 on Fri, 17 Nov 2023 10:38:05 GMT]]></title><description><![CDATA[<p dir="auto">佬，为啥获取失败<img src="/assets/uploads/files/1700217480104-c8df5eed-21d4-45ce-943f-7b3bcb53d2c8-image.png" alt="c8df5eed-21d4-45ce-943f-7b3bcb53d2c8-image.png" class=" img-responsive img-markdown" /></p>
]]></description><link>https://mirai.mamoe.net/post/26709</link><guid isPermaLink="true">https://mirai.mamoe.net/post/26709</guid><dc:creator><![CDATA[W1ndys]]></dc:creator><pubDate>Fri, 17 Nov 2023 10:38:05 GMT</pubDate></item><item><title><![CDATA[Reply to yPlugin——集成了一些小功能的插件 on Fri, 27 Oct 2023 09:47:34 GMT]]></title><description><![CDATA[<p dir="auto">大佬，摸鱼日历的api炸了T.T</p>
]]></description><link>https://mirai.mamoe.net/post/26557</link><guid isPermaLink="true">https://mirai.mamoe.net/post/26557</guid><dc:creator><![CDATA[Tomori77]]></dc:creator><pubDate>Fri, 27 Oct 2023 09:47:34 GMT</pubDate></item><item><title><![CDATA[Reply to yPlugin——集成了一些小功能的插件 on Fri, 27 Oct 2023 09:44:13 GMT]]></title><description><![CDATA[<p dir="auto">摸鱼日历炸了0.0</p>
]]></description><link>https://mirai.mamoe.net/post/26556</link><guid isPermaLink="true">https://mirai.mamoe.net/post/26556</guid><dc:creator><![CDATA[Tomori77]]></dc:creator><pubDate>Fri, 27 Oct 2023 09:44:13 GMT</pubDate></item><item><title><![CDATA[Reply to yPlugin——集成了一些小功能的插件 on Thu, 06 Jul 2023 05:17:49 GMT]]></title><description><![CDATA[<p dir="auto">输入二次元爆了一个java.net.UnknownHostException: <a href="http://www.uukey.cn" target="_blank" rel="noopener noreferrer nofollow ugc">www.uukey.cn</a>: Name or service not known<br />
java.net.UnknownHostException: <a href="http://www.uukey.cn" target="_blank" rel="noopener noreferrer nofollow ugc">www.uukey.cn</a>: Name or service not known</p>
]]></description><link>https://mirai.mamoe.net/post/24998</link><guid isPermaLink="true">https://mirai.mamoe.net/post/24998</guid><dc:creator><![CDATA[逍光00]]></dc:creator><pubDate>Thu, 06 Jul 2023 05:17:49 GMT</pubDate></item><item><title><![CDATA[Reply to yPlugin——集成了一些小功能的插件 on Fri, 28 Apr 2023 18:54:09 GMT]]></title><description><![CDATA[<p dir="auto">知道了 原来不能艾特</p>
]]></description><link>https://mirai.mamoe.net/post/23905</link><guid isPermaLink="true">https://mirai.mamoe.net/post/23905</guid><dc:creator><![CDATA[liuyiliux]]></dc:creator><pubDate>Fri, 28 Apr 2023 18:54:09 GMT</pubDate></item><item><title><![CDATA[Reply to yPlugin——集成了一些小功能的插件 on Fri, 28 Apr 2023 18:48:27 GMT]]></title><description><![CDATA[<p dir="auto">大佬为什么我私聊新闻回复了 群里没有回复 群号已经配置了</p>
]]></description><link>https://mirai.mamoe.net/post/23904</link><guid isPermaLink="true">https://mirai.mamoe.net/post/23904</guid><dc:creator><![CDATA[liuyiliux]]></dc:creator><pubDate>Fri, 28 Apr 2023 18:48:27 GMT</pubDate></item><item><title><![CDATA[Reply to yPlugin——集成了一些小功能的插件 on Sun, 12 Mar 2023 12:49:54 GMT]]></title><description><![CDATA[<p dir="auto">感谢分享，看起来不错的插件，但我除了第一个新闻以外，其他都报错导致mirai停止工作，群和用户都加进配置了，mirai2.14.0，用的mcl，代码如下：</p>
<p dir="auto">2023-03-12 20:43:07 V/Bot.【botqq】: 【用户】 -&gt; 舔狗                                                                                                   2023-03-12 20:43:07 W/Bot.【botqq】: An exception occurred when processing event. Subscriber scope: '&lt;unnamed&gt;'. Broadcaster scope: 'Bot 【botqq】.EventDispatcher'                                                                                                                                                           com.alibaba.fastjson.JSONException: TODO error                                                                                                                          at yplug-1.0.1.mirai.jar//com.alibaba.fastjson.parser.AbstractJSONParser.parse(AbstractJSONParser.java:211)                                                     at yplug-1.0.1.mirai.jar//com.alibaba.fastjson.parser.AbstractJSONParser.parse(AbstractJSONParser.java:139)                                                     at yplug-1.0.1.mirai.jar//com.alibaba.fastjson.JSON.parse(JSON.java:89)                                                                                         at yplug-1.0.1.mirai.jar//com.alibaba.fastjson.JSON.parse(JSON.java:80)                                                                                         at yplug-1.0.1.mirai.jar//yplugin.Utils.GetTalkUtil.GetTalk(GetTalkUtil.java:22)                                                                                at yplug-1.0.1.mirai.jar//yplugin.AWriteTalk.DogTalk.friendCommand(DogTalk.java:39)                                                                             at yplug-1.0.1.mirai.jar//yplugin.Commands.CommandsManager.fridentHandle(CommandsManager.java:83)                                                               at yplug-1.0.1.mirai.jar//yplugin.Plugin.lambda$onEnable$0(Plugin.java:184)                                                                                     at net.mamoe.mirai.event.EventChannel$subscribeAlways$2$1.invoke(EventChannel.kt:600)                                                                           at net.mamoe.mirai.event.EventChannel$subscribeAlways$2$1.invoke(EventChannel.kt:600)                                                                           at kotlinx.coroutines.InterruptibleKt.runInterruptibleInExpectedContext(Interruptible.kt:51)                                                                    at kotlinx.coroutines.InterruptibleKt.access$runInterruptibleInExpectedContext(Interruptible.kt:1)                                                              at kotlinx.coroutines.InterruptibleKt$runInterruptible$2.invokeSuspend(Interruptible.kt:43)                                                                     at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)                                                                       at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)                                                                                                 at kotlinx.coroutines.internal.LimitedDispatcher.run(LimitedDispatcher.kt:42)                                                                                   at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:95)                                                                                                      at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)                                                                        at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)                                                               at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)                                                                 at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)</p>
]]></description><link>https://mirai.mamoe.net/post/22703</link><guid isPermaLink="true">https://mirai.mamoe.net/post/22703</guid><dc:creator><![CDATA[kiri]]></dc:creator><pubDate>Sun, 12 Mar 2023 12:49:54 GMT</pubDate></item><item><title><![CDATA[Reply to yPlugin——集成了一些小功能的插件 on Tue, 28 Feb 2023 05:01:57 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://mirai.mamoe.net/uid/2852">@VatinaCharo</a> 大佬，二开的你的项目，Thanks♪(･ω･)ﾉ</p>
]]></description><link>https://mirai.mamoe.net/post/22343</link><guid isPermaLink="true">https://mirai.mamoe.net/post/22343</guid><dc:creator><![CDATA[296711867]]></dc:creator><pubDate>Tue, 28 Feb 2023 05:01:57 GMT</pubDate></item><item><title><![CDATA[Reply to yPlugin——集成了一些小功能的插件 on Mon, 27 Feb 2023 08:46:20 GMT]]></title><description><![CDATA[<p dir="auto">好眼熟的readme风格（哎嘿</p>
]]></description><link>https://mirai.mamoe.net/post/22320</link><guid isPermaLink="true">https://mirai.mamoe.net/post/22320</guid><dc:creator><![CDATA[VatinaCharo]]></dc:creator><pubDate>Mon, 27 Feb 2023 08:46:20 GMT</pubDate></item></channel></rss>