/mcl-plugins

Primary LanguageKotlinGNU Affero General Public License v3.0AGPL-3.0

mcl-plugins

mirai-console 插件

Usage

Gradle

allprojects {
    repositories {
//      ...
        maven { url 'https://jitpack.io' }
    }
}
dependencies {
    implementation 'com.github.yiklek:mcl-plugins:-SNAPSHOT'
}

Kotlin

allprojects {
    repositories {
//      ...
        maven("https://jitpack.io")
    }
}
dependencies {
    implementation("com.github.yiklek:mcl-plugins:-SNAPSHOT")
}

Plugins

reply-trigger

botIds: [ 123456 ]
rules:
  - groups: # 群   设置为null关闭,空列表允许所有
      - 12345
    friends: # 好友 设置为null关闭,空列表允许所有
      - 12345
    triggers: # 触发词
      - 1
    reply: 2    # 回复词

cloud-recruit

groupId: 12345  #群号