mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-27 14:18:36 +02:00
Fix
This commit is contained in:
@@ -13,10 +13,11 @@ module.exports = class PhoneCall {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async start() {
|
async start() {
|
||||||
await this.origin.send(`☎️ Calling **${this.recipient.guild.name}**...`);
|
|
||||||
if (this.ownerOrigin) {
|
if (this.ownerOrigin) {
|
||||||
await this.recipient.send(`☎️ Incoming **ADMIN** call from **${this.origin.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.`);
|
||||||
} else {
|
} 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.recipient.send(`☎️ Incoming call from **${this.origin.guild.name}**. Pick up?`);
|
||||||
const validation = await verify(this.recipient, null);
|
const validation = await verify(this.recipient, null);
|
||||||
if (!validation) {
|
if (!validation) {
|
||||||
|
|||||||
Reference in New Issue
Block a user