Skip to content

Commit

Permalink
Merge pull request #326 from HyacinthBots/develop
Browse files Browse the repository at this point in the history
Release 4.6.1
  • Loading branch information
NoComment1105 authored Jan 15, 2023
2 parents 7f83060 + c2b0a5b commit 7e60b6e
Show file tree
Hide file tree
Showing 43 changed files with 36 additions and 11 deletions.
7 changes: 6 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ plugins {
}

group = "org.hyacinthbots.lilybot"
version = "4.6.0"
version = "4.6.1"

repositories {
mavenCentral()
Expand All @@ -31,6 +31,11 @@ repositories {
url = uri("https://oss.sonatype.org/content/repositories/snapshots")
}

maven {
name = "Sonatype Snapshots S01"
url = uri("https://s01.oss.sonatype.org/content/repositories/snapshots/")
}

maven {
name = "Fabric"
url = uri("https://maven.fabricmc.net/")
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
20 changes: 20 additions & 0 deletions docs/changelogs/4.x.x/4.6.1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# LilyBot 4.6.1

This update fixes some bugs that were introduced with the new auto-threading system.

**The support channel system is now deprecated (replaced by auto-threading) and will be removed in version 4.7.0.
If you have a support channel, it's been automatically migrated to an auto-threaded channel.**

You can find the full changelog below.

New:
* An option in auto-threading to add moderators as well as the target role.

Change:
* Switch to the new maven artifact for our doc-generator and Discord moderation actions.

Fix:
* Moderators being added to every thread.
* Auto-threading not properly detecting the status of old threads.

You can find a list of all the commits in this update [here](https://github.com/hyacinthbots/LilyBot/compare/v4.6.0...v4.6.1)
2 changes: 1 addition & 1 deletion libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ github-api = { module = "org.kohsuke:github-api", version.ref = "github-api" }
kmongo = { module = "org.litote.kmongo:kmongo-coroutine-serialization", version.ref = "kmongo" }
detekt = { module = "io.gitlab.arturbosch.detekt:detekt-formatting", version.ref = "detekt"}
cozy-welcome = {module = "org.quiltmc.community:module-welcome", version.ref = "cozy-welcome"}
dma = { module = "com.github.nocomment1105:discord-moderation-actions", version.ref = "dma"}
dma = { module = "org.hyacinthbots:discord-moderation-actions", version.ref = "dma"}
docgenerator = { module = "org.hyacinthbots:doc-generator", version.ref = "docgenerator" }
Original file line number Diff line number Diff line change
Expand Up @@ -46,19 +46,19 @@ import dev.kord.core.supplier.EntitySupplyStrategy
import dev.kord.rest.builder.message.EmbedBuilder
import dev.kord.rest.builder.message.create.embed
import dev.kord.rest.request.KtorRequestException
import io.github.nocomment1105.discordmoderationactions.builder.ban
import io.github.nocomment1105.discordmoderationactions.builder.kick
import io.github.nocomment1105.discordmoderationactions.builder.removeTimeout
import io.github.nocomment1105.discordmoderationactions.builder.softban
import io.github.nocomment1105.discordmoderationactions.builder.timeout
import io.github.nocomment1105.discordmoderationactions.builder.unban
import io.github.nocomment1105.discordmoderationactions.enums.ActionResults
import kotlinx.coroutines.flow.map
import kotlinx.coroutines.flow.toList
import kotlinx.datetime.Clock
import kotlinx.datetime.DateTimePeriod
import kotlinx.datetime.TimeZone
import kotlinx.datetime.plus
import org.hyacinthbots.discordmoderationactions.builder.ban
import org.hyacinthbots.discordmoderationactions.builder.kick
import org.hyacinthbots.discordmoderationactions.builder.removeTimeout
import org.hyacinthbots.discordmoderationactions.builder.softban
import org.hyacinthbots.discordmoderationactions.builder.timeout
import org.hyacinthbots.discordmoderationactions.builder.unban
import org.hyacinthbots.discordmoderationactions.enums.ActionResults
import org.hyacinthbots.lilybot.database.collections.ModerationConfigCollection
import org.hyacinthbots.lilybot.database.collections.WarnCollection
import org.hyacinthbots.lilybot.extensions.config.ConfigOptions
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import dev.kord.core.entity.Guild
import dev.kord.core.entity.Message
import dev.kord.core.entity.User
import dev.kord.rest.builder.message.EmbedBuilder
import io.github.nocomment1105.discordmoderationactions.enums.DmResult
import org.hyacinthbots.discordmoderationactions.enums.DmResult

/**
* This is the base moderation embed for all moderation actions. This should be posted to the action log of a guild.
Expand Down
2 changes: 1 addition & 1 deletion src/main/kotlin/org/hyacinthbots/lilybot/utils/_Utils.kt
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ import dev.kord.core.behavior.GuildBehavior
import dev.kord.core.behavior.RoleBehavior
import dev.kord.core.entity.Message
import dev.kord.core.supplier.EntitySupplyStrategy
import io.github.nocomment1105.discordmoderationactions.enums.DmResult
import kotlinx.coroutines.flow.count
import kotlinx.coroutines.runBlocking
import kotlinx.datetime.DateTimePeriod
import mu.KotlinLogging
import org.hyacinthbots.discordmoderationactions.enums.DmResult
import org.hyacinthbots.lilybot.database.Database
import org.hyacinthbots.lilybot.database.collections.ConfigMetaCollection
import org.hyacinthbots.lilybot.database.collections.GalleryChannelCollection
Expand Down

0 comments on commit 7e60b6e

Please sign in to comment.