Skip to content

Commit

Permalink
build: 1.3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
cssxsh committed Oct 21, 2021
1 parent bdd558b commit a8fc258
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ plugins {
}

group = "xyz.cssxsh"
version = "1.3.5"
version = "1.3.6"

mavenCentralPublish {
useCentralS01()
Expand Down
9 changes: 9 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,15 @@
| `/<wgroup 微博分组> <stop 停止> [gid] [subject]?` | 取消订阅一个微博分组 |
| `/<wgroup 微博分组> <detail 详情> [subject]?` | 查看订阅详情 |


### 分组订阅指令

| 指令 | 描述 |
|:----------------------------------------------------|:-----------------------|
| `/<whot 微博热搜> <add task 订阅> [gid] [subject]?` | 订阅一个微博热搜 |
| `/<whot 微博热搜> <stop 停止> [gid] [subject]?` | 取消订阅一个微博热搜 |
| `/<whot 微博热搜> <detail 详情> [subject]?` | 查看订阅详情 |

`gid`是分组的ID,可以在分组的页面获得,
例如 <https://www.weibo.com/mygroups?gid=3893924734832698>`3893924734832698`
也可以通过列表指令获得,使用列表指令之后会按行回复`分组标题 -> GID`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import xyz.cssxsh.mirai.plugin.command.*
import xyz.cssxsh.mirai.plugin.data.*

object WeiboHelperPlugin : KotlinPlugin(
JvmPluginDescription("xyz.cssxsh.mirai.plugin.weibo-helper", "1.3.5") {
JvmPluginDescription("xyz.cssxsh.mirai.plugin.weibo-helper", "1.3.6") {
name("weibo-helper")
author("cssxsh")
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import xyz.cssxsh.weibo.data.*
object WeiboHotCommand : CompositeCommand(
owner = WeiboHelperPlugin,
"whot", "微博热搜",
description = "微博分组指令",
description = "微博热搜指令",
) {
internal val subscriber = object : WeiboSubscriber<String>(primaryName) {
override val load: suspend (String) -> List<MicroBlog> = { keyword ->
Expand Down

0 comments on commit a8fc258

Please sign in to comment.