Made interaction nullable when replying in play function

This commit is contained in:
Christer Warén 2021-09-05 02:36:52 +03:00
parent 25356be323
commit 72d0054d25

View File

@ -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
});