Commit 30e4864 1 parent a62973e commit 30e4864 Copy full SHA for 30e4864
File tree 4 files changed +6
-2
lines changed
src/main/kotlin/top/alazeprt/aqqbot/event
4 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ repositories {
14
14
maven(" https://oss.sonatype.org/content/repositories/snapshots" )
15
15
maven(" https://s01.oss.sonatype.org/content/repositories/snapshots/" )
16
16
maven(" https://repo.extendedclip.com/releases/" )
17
+ maven(" https://repo.opencollab.dev/main/" )
17
18
mavenCentral()
18
19
}
19
20
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ repositories {
12
12
maven(" https://repo.extendedclip.com/releases/" )
13
13
maven(" https://oss.sonatype.org/content/repositories/snapshots" )
14
14
maven(" https://s01.oss.sonatype.org/content/repositories/snapshots/" )
15
+ maven(" https://repo.opencollab.dev/main/" )
15
16
mavenCentral()
16
17
}
17
18
@@ -23,6 +24,7 @@ dependencies {
23
24
compileOnly(" com.github.alazeprt:AConfiguration:1.2" )
24
25
compileOnly(" com.github.alazeprt:taboolib-database:1.0.4" )
25
26
compileOnly(" me.lucko:spark-api:0.1-SNAPSHOT" )
27
+ compileOnly(" org.geysermc.geyser:api:2.4.2-SNAPSHOT" )
26
28
}
27
29
28
30
tasks.withType<JavaCompile > {
Original file line number Diff line number Diff line change @@ -33,9 +33,9 @@ object AEventUtil {
33
33
plugin.enableGroups.forEach {
34
34
val messagePath = " notify.player_status.${if (isJoin) " join" else " leave" } "
35
35
BotProvider .getBot()?.action(
36
- SendGroupMessage (it.toLong(), if (plugin.generalConfig.getStringList(messagePath).isEmpty())
36
+ SendGroupMessage (it.toLong(), ( if (plugin.generalConfig.getStringList(messagePath).isEmpty())
37
37
plugin.generalConfig.getString(messagePath)? : " " else plugin.generalConfig
38
- .getStringList(messagePath).random()
38
+ .getStringList(messagePath).random())
39
39
.replace(" \$ {playerName}" , playerName)
40
40
.replace(" \$ {userId}" , qq.toString()), true )
41
41
)
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ repositories {
13
13
maven(" https://jitpack.io" )
14
14
maven(" https://s01.oss.sonatype.org/content/repositories/snapshots/" )
15
15
maven(" https://oss.sonatype.org/content/repositories/snapshots" )
16
+ maven(" https://repo.opencollab.dev/main/" )
16
17
mavenCentral()
17
18
}
18
19
You can’t perform that action at this time.
0 commit comments