mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-19 05:51:42 +02:00
Make phone show IDs at the start
This commit is contained in:
@@ -13,4 +13,3 @@ config.json
|
|||||||
command-leaderboard.json
|
command-leaderboard.json
|
||||||
|
|
||||||
# In-Development Commands
|
# In-Development Commands
|
||||||
commands/games-sp/puyo-puyo.js
|
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "xiao",
|
"name": "xiao",
|
||||||
"version": "119.0.0",
|
"version": "119.0.1",
|
||||||
"description": "Your personal server companion.",
|
"description": "Your personal server companion.",
|
||||||
"main": "Xiao.js",
|
"main": "Xiao.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
@@ -20,8 +20,8 @@ module.exports = class PhoneCall {
|
|||||||
await this.origin.send(`☎️ Admin call started with **${this.recipient.guild.name}**.`);
|
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.`);
|
await this.recipient.send(`☎️ An **ADMIN** call from **${this.origin.guild.name}** has begun.`);
|
||||||
} else {
|
} else {
|
||||||
await this.origin.send(`☎️ Calling **${this.recipient.guild.name}**...`);
|
await this.origin.send(`☎️ Calling **${this.recipient.guild.name} (${this.recipient.id})**...`);
|
||||||
await this.recipient.send(`☎️ Incoming call from **${this.origin.guild.name}**. Pick up?`);
|
await this.recipient.send(`☎️ Incoming call from **${this.origin.guild.name} (${this.origin.id})**. Pick up?`);
|
||||||
const validation = await verify(this.recipient, null);
|
const validation = await verify(this.recipient, null);
|
||||||
if (!validation) {
|
if (!validation) {
|
||||||
await this.hangup('declined', validation);
|
await this.hangup('declined', validation);
|
||||||
|
|||||||
Reference in New Issue
Block a user