From 589cf043695ceb82bbd402e295394eb0d2570f4c Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Tue, 1 Dec 2020 20:27:04 -0500 Subject: [PATCH] Fix Lint --- structures/phone/PhoneCall.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/structures/phone/PhoneCall.js b/structures/phone/PhoneCall.js index 6d94f262..48ba523e 100644 --- a/structures/phone/PhoneCall.js +++ b/structures/phone/PhoneCall.js @@ -9,7 +9,7 @@ module.exports = class PhoneCall { this.id = `${origin.id}:${recipient.id}`; this.origin = origin; - this.originDM = !Boolean(origin.guild); + this.originDM = !origin.guild; this.recipient = recipient; this.startUser = startUser; this.active = false; @@ -31,7 +31,9 @@ module.exports = class PhoneCall { } else { await this.origin.send(`☎️ Calling **${this.recipient.guild.name} (${this.recipient.id})**...`); if (this.originDM) { - await this.recipient.send(`☎️ Incoming call from **${this.startUser.tag}'s DM (${this.startUser.id})**. Pick up?`); + await this.recipient.send( + `☎️ Incoming call from **${this.startUser.tag}'s DM (${this.startUser.id})**. Pick up?` + ); } else { await this.recipient.send(`☎️ Incoming call from **${this.origin.guild.name} (${this.origin.id})**. Pick up?`); }