diff --git a/structures/phone/PhoneCall.js b/structures/phone/PhoneCall.js index 4c4fa0ac..3cf0b04b 100644 --- a/structures/phone/PhoneCall.js +++ b/structures/phone/PhoneCall.js @@ -16,7 +16,7 @@ module.exports = class PhoneCall { await this.recipient.send(`☎️ Incoming call from **${this.origin.guild.name}**. Pick up?`); const validation = await verify(this.recipient, null); if (!validation) { - await this.decline(validation); + await this.hangup('declined', validation); return this; } await this.accept(); @@ -31,12 +31,6 @@ module.exports = class PhoneCall { return this; } - async decline(validation) { - this.client.phone.delete(this.id); - await this.hangup('declined', validation); - return this; - } - async hangup(nonQuitter, validation) { this.active = false; clearTimeout(this.timeout);