Remove unnecessary await in Play command

This commit is contained in:
Christer Warén 2023-06-07 17:46:47 +03:00
parent 9e165713ce
commit 938f8ab69b

View File

@ -96,7 +96,7 @@ export default {
type = "direct"; type = "direct";
} }
const sstation = await client.stations.search(query, type); const sstation = client.stations.search(query, type);
if (!sstation) return interaction.reply({ if (!sstation) return interaction.reply({
content: client.messages.emojis["error"] + client.messages.noSearchResults, content: client.messages.emojis["error"] + client.messages.noSearchResults,
ephemeral: true ephemeral: true