mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2024-12-23 01:13:17 +00:00
Small fix in play.js
This commit is contained in:
parent
0ac8491a96
commit
a6d1f68191
@ -76,7 +76,7 @@ module.exports = {
|
|||||||
content: client.messageEmojis["error"] + client.messages.tooShortSearch,
|
content: client.messageEmojis["error"] + client.messages.tooShortSearch,
|
||||||
ephemeral: true
|
ephemeral: true
|
||||||
});
|
});
|
||||||
const sstation = await searchStation(query.slice(1), client);
|
const sstation = await searchStation(query, client);
|
||||||
if (!sstation)
|
if (!sstation)
|
||||||
return interaction.reply({
|
return interaction.reply({
|
||||||
content: client.messageEmojis["error"] + client.messages.noSearchResults,
|
content: client.messageEmojis["error"] + client.messages.noSearchResults,
|
||||||
|
Loading…
Reference in New Issue
Block a user