From 69cdda1d66b6021f98aadc33e9a0e72dd887f96a Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Wed, 13 May 2020 19:04:53 -0400 Subject: [PATCH] Fix --- structures/phone/PhoneCall.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/structures/phone/PhoneCall.js b/structures/phone/PhoneCall.js index 16450084..4d440355 100644 --- a/structures/phone/PhoneCall.js +++ b/structures/phone/PhoneCall.js @@ -67,7 +67,8 @@ module.exports = class PhoneCall { return this.hangup(channel); } if (this.cooldown.has(msg.author.id) && !this.client.isOwner(msg.author)) { - return this.recipient.send(`☎️ ${msg.author}, please wait **5** seconds between messages!`); + const badChannel = channel.id === this.origin.id ? this.recipient : this.origin; + return badChannel.send(`☎️ ${msg.author}, please wait **5** seconds between messages!`); } this.setTimeout(); if (!this.client.isOwner(msg.author)) {