This commit is contained in:
Dragon Fire
2020-12-01 21:00:01 -05:00
parent 2a450aa490
commit f174a5cadc
+1 -1
View File
@@ -19,7 +19,7 @@ module.exports = class PhoneInfoCommand extends Command {
const call = origin || recipient;
if (!call.active) return msg.reply('☎️ This call is not currently active.');
const otherChannel = msg.channel.id === call.origin.id ? call.recipient : call.origin;
const otherChannelDM = msg.channel.id === call.origin.id ? false : Boolean(call.origin.guild);
const otherChannelDM = msg.channel.id === call.origin.id ? false : !call.origin.guild;
const embed = new MessageEmbed()
.setColor(0x00AE86)
.setThumbnail(otherChannelDM