mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2024-12-23 01:13:17 +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);
|
||||
|
||||
interaction.reply({
|
||||
interaction?.reply({
|
||||
content: client.messageEmojis["play"] + message.play,
|
||||
ephemeral: true
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user