Skip to content

Commit

Permalink
Trim icon URL from messages
Browse files Browse the repository at this point in the history
  • Loading branch information
gdude2002 committed May 7, 2023
1 parent cfe62a7 commit 8b98317
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ import dev.kord.core.event.message.MessageCreateEvent
import io.ktor.client.*
import io.ktor.client.call.*
import io.ktor.client.request.*
import io.ktor.util.*
import kotlinx.coroutines.delay
import org.koin.core.component.inject
import org.quiltmc.community.*
Expand Down Expand Up @@ -447,7 +446,7 @@ class ForumExtension : Extension() {
match.groupValues[1]
} else {
TOOLCHAIN_LOGO
}
}.trim()

val message = webhook.execute(webhook.token!!) {
this.username = thread.name
Expand Down

0 comments on commit 8b98317

Please sign in to comment.