From 938f8ab69b8bc21b11a485a714a6f867d81f3070 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christer=20War=C3=A9n?= Date: Wed, 7 Jun 2023 17:46:47 +0300 Subject: [PATCH] Remove unnecessary await in Play command --- src/client/commands/play.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/commands/play.ts b/src/client/commands/play.ts index 1186211..7857245 100644 --- a/src/client/commands/play.ts +++ b/src/client/commands/play.ts @@ -96,7 +96,7 @@ export default { type = "direct"; } - const sstation = await client.stations.search(query, type); + const sstation = client.stations.search(query, type); if (!sstation) return interaction.reply({ content: client.messages.emojis["error"] + client.messages.noSearchResults, ephemeral: true