Skip to content

Commit

Permalink
config
Browse files Browse the repository at this point in the history
  • Loading branch information
LaoLittle committed Dec 27, 2021
1 parent 95b95e0 commit 00a0a69
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion src/main/kotlin/GroupConnConfig.kt
Original file line number Diff line number Diff line change
@@ -1,9 +1,26 @@
package org.laolittle.plugin.groupconn

import net.mamoe.mirai.console.data.AutoSavePluginConfig
import net.mamoe.mirai.console.data.ValueDescription
import net.mamoe.mirai.console.data.value

/*
object GroupConnConfig : AutoSavePluginConfig("GroupConnConfig") {
@ValueDescription("消息记录额外经过的群聊 (群号)")
val middleGroup: Long? by value(null)
val a: MutableMap<String, String> by value()
}
*/
*/
object GroupConnConfig : AutoSavePluginConfig("GroupConnConfig") {
@ValueDescription(
"""
跨群聊天消息格式
变量:
%昵称%, %头衔%, %号码%, %消息%, %发送群名%, %发送群号%, %接收群名%, %接收群号%
"""
)
val model by value("%昵称%\n%消息%")
}

0 comments on commit 00a0a69

Please sign in to comment.