simple-robot / simbot-component-mirai

simple-robot下的mirai组件
https://component-mirai.simbot.forte.love/
GNU Affero General Public License v3.0
20 stars 0 forks source link

解除禁言时发生 IllegalArgumentException: durationSeconds must greater than zero #58

Closed ForteScarlet closed 2 years ago

ForteScarlet commented 2 years ago

See https://github.com/ForteScarlet/simpler-robot/issues/411 by @Chenyuxin221

ForteScarlet commented 2 years ago

已在 https://github.com/simple-robot/simbot-component-mirai/commit/35c8951ea49bd4d868dcfa05e59e24bc8d53148d 中修复,可通过快照版本 v3.0.0.0-beta-M2-SNAPSHOT 提前验证并在仍有问题时继续反馈。@Chenyuxin221

Chenyuxin221 commented 2 years ago

如何获取快照版本

ForteScarlet commented 2 years ago

如何获取快照版本

配置快照仓库,然后使用快照版本。

pom.xml 中:

<repositories>
    <repository>
        <id>sonatype-snapshot</id>
        <name>Sonatype Snapshots Repository</name>
        <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
        <snapshots>
            <enabled>true</enabled>
        </snapshots>
    </repository>
</repositories>

build.gradle.kts 中:

repositories {
    // ...
    maven {
        url = uri("https://oss.sonatype.org/content/repositories/snapshots/")
        mavenContent {
            snapshotsOnly()
        }
    }
}
Chenyuxin221 commented 2 years ago

Could not find artifact love.forte.simbot.component:simbot-component-mirai-boot:pom:v3.0.0.0-beta-M2-SNAPSHOT in sonatype-snapshot (https://oss.sonatype.org/content/repositories/snapshots/) URL使用浏览器打开提示Directory listing forbidden

ForteScarlet commented 2 years ago

Could not find artifact love.forte.simbot.component:simbot-component-mirai-boot:pom:v3.0.0.0-beta-M2-SNAPSHOT in sonatype-snapshot

不要带着那个 v

Chenyuxin221 commented 2 years ago

更新后问题以解决