File tree 4 files changed +15
-2
lines changed
src/main/kotlin/xyz/cssxsh/mirai/admin
4 files changed +15
-2
lines changed Original file line number Diff line number Diff line change
1
+ ## 1.4.0 (23/05/01)
2
+
3
+ 1 . feat: newWatchService catch
4
+ 2 . feat: bot command
5
+ 3 . feat: poi
6
+
1
7
## 1.3.3 (23/03/16)
2
8
3
9
1 . fix: timer
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ plugins {
7
7
}
8
8
9
9
group = " xyz.cssxsh.mirai"
10
- version = " 1.3.3 "
10
+ version = " 1.4.0 "
11
11
12
12
mavenCentralPublish {
13
13
useCentralS01()
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ internal object MiraiAdminPlugin : KotlinPlugin(
20
20
JvmPluginDescription (
21
21
id = "xyz.cssxsh.mirai.plugin.mirai-administrator",
22
22
name = "mirai-administrator",
23
- version = "1.3.3 ",
23
+ version = "1.4.0 ",
24
24
) {
25
25
author("cssxsh")
26
26
}
Original file line number Diff line number Diff line change @@ -14,6 +14,9 @@ public object AdminBotCommand : CompositeCommand(
14
14
primaryName = " bot" ,
15
15
description = " BOT处理相关操作"
16
16
) {
17
+ /* *
18
+ * 打印 BOT 列表
19
+ */
17
20
@SubCommand
18
21
public suspend fun CommandSender.list () {
19
22
val message = try {
@@ -32,6 +35,10 @@ public object AdminBotCommand : CompositeCommand(
32
35
sendMessage(message)
33
36
}
34
37
38
+ /* *
39
+ * 登出 BOT
40
+ * @param bot 操作对象
41
+ */
35
42
@SubCommand
36
43
public suspend fun CommandSender.logout (bot : Bot ) {
37
44
val message = try {
You can’t perform that action at this time.
0 commit comments