diff --git a/src/main/kotlin/de/limited_dev/botendo/Bot.kt b/src/main/kotlin/de/limited_dev/botendo/Bot.kt index f163e2f..9d4b173 100644 --- a/src/main/kotlin/de/limited_dev/botendo/Bot.kt +++ b/src/main/kotlin/de/limited_dev/botendo/Bot.kt @@ -63,7 +63,6 @@ object Bot { //Register Command Listener kord.on { //val response = interaction.deferPublicResponse() - coroutineScope { val deferred = async { interaction.deferPublicResponse() } val command = interaction.command diff --git a/src/main/kotlin/de/limited_dev/botendo/commands/slash/music/PlayCommand.kt b/src/main/kotlin/de/limited_dev/botendo/commands/slash/music/PlayCommand.kt index 64ca37b..c579bf8 100644 --- a/src/main/kotlin/de/limited_dev/botendo/commands/slash/music/PlayCommand.kt +++ b/src/main/kotlin/de/limited_dev/botendo/commands/slash/music/PlayCommand.kt @@ -74,7 +74,7 @@ class PlayCommand : SlashCommand( } else { "ytsearch:$query" } - + MessageUtil.sendEmbedForInteraction(interaction, deferred, "Searching...", "We are looking for $query") MusicManager.addToQueue(interaction, deferred, link, search) } }