From b101f5bb06c7ba050fe813acd3a7f77c48ffede5 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Wed, 1 Jul 2020 14:31:19 -0400 Subject: [PATCH] Make phone show IDs at the start --- .gitignore | 1 - package.json | 2 +- structures/phone/PhoneCall.js | 4 ++-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 354cf5de..02eb87e2 100644 --- a/.gitignore +++ b/.gitignore @@ -13,4 +13,3 @@ config.json command-leaderboard.json # In-Development Commands -commands/games-sp/puyo-puyo.js diff --git a/package.json b/package.json index 3aab96f3..bdd696bc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xiao", - "version": "119.0.0", + "version": "119.0.1", "description": "Your personal server companion.", "main": "Xiao.js", "scripts": { diff --git a/structures/phone/PhoneCall.js b/structures/phone/PhoneCall.js index 13c57296..0ac58adb 100644 --- a/structures/phone/PhoneCall.js +++ b/structures/phone/PhoneCall.js @@ -20,8 +20,8 @@ module.exports = class PhoneCall { await this.origin.send(`☎️ Admin call started with **${this.recipient.guild.name}**.`); await this.recipient.send(`☎️ An **ADMIN** call from **${this.origin.guild.name}** has begun.`); } else { - await this.origin.send(`☎️ Calling **${this.recipient.guild.name}**...`); - await this.recipient.send(`☎️ Incoming call from **${this.origin.guild.name}**. Pick up?`); + await this.origin.send(`☎️ Calling **${this.recipient.guild.name} (${this.recipient.id})**...`); + await this.recipient.send(`☎️ Incoming call from **${this.origin.guild.name} (${this.origin.id})**. Pick up?`); const validation = await verify(this.recipient, null); if (!validation) { await this.hangup('declined', validation);