mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2024-11-14 04:30:18 +00:00
Made interaction nullable when replying in play function
This commit is contained in:
parent
25356be323
commit
72d0054d25
@ -80,7 +80,7 @@ module.exports = async function play(interaction, guild, client, url, Discord) {
|
|||||||
|
|
||||||
message.play = client.messages.play.replace("%radio.station.name%", radio.station.name);
|
message.play = client.messages.play.replace("%radio.station.name%", radio.station.name);
|
||||||
|
|
||||||
interaction.reply({
|
interaction?.reply({
|
||||||
content: client.messageEmojis["play"] + message.play,
|
content: client.messageEmojis["play"] + message.play,
|
||||||
ephemeral: true
|
ephemeral: true
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user