Commit a026958 1 parent 7724a97 commit a026958 Copy full SHA for a026958
File tree 2 files changed +3
-2
lines changed
common/src/main/kotlin/me/regadpole/plumbot/internal
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -25,11 +25,12 @@ subprojects {
25
25
repositories {
26
26
mavenCentral()
27
27
maven(" https://jitpack.io" )
28
+ maven(" https://repo.panda-lang.org/releases" )
28
29
}
29
30
30
31
dependencies {
31
32
compileOnly(" com.github.RegadPoleCN:onebot-client:f73b158fc4" )
32
- taboo(" com.github.SNWCreations:KookBC:0.27.4 " )
33
+ taboo(" com.github.SNWCreations:KookBC:0.28.0 " )
33
34
compileOnly(" ink.ptms.core:v12004:12004:mapped" )
34
35
compileOnly(" ink.ptms.core:v12004:12004:universal" )
35
36
compileOnly(kotlin(" stdlib" ))
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import me.regadpole.plumbot.PlumBot
6
6
class WhitelistHelper {
7
7
fun checkCount (user : String ): Boolean {
8
8
val idList = PlumBot .getDatabase().getBind(user).values
9
- val maxCount: Int = PlumBot .getConfig().getConfig().whiteList .maxCount
9
+ val maxCount: Int = PlumBot .getConfig().getConfig().groups.forwarding.whitelist .maxCount
10
10
if (idList.isEmpty()) return true
11
11
return idList.size < maxCount
12
12
}
You can’t perform that action at this time.
0 commit comments