This commit is contained in:
Dragon Fire
2020-07-07 10:49:11 -04:00
parent f7701fe061
commit 9b62b1f20d
2 changed files with 3 additions and 5 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "xiao",
"version": "119.10.3",
"version": "119.10.2",
"description": "Your personal server companion.",
"main": "Xiao.js",
"scripts": {
+2 -4
View File
@@ -36,10 +36,8 @@ module.exports = class PhoneCall {
this.active = true;
this.setTimeout();
if (this.ownerOrigin) return this;
const inGuild = msg.guild ? undefined : null;
const cmd = msg.anyUsage('hang-up', inGuild, inGuild);
await this.origin.send(`☎️ **${this.recipient.guild.name}** picked up! Use ${cmd} hang up.`);
await this.recipient.send(`☎️ Accepted call from **${this.origin.guild.name}**. Use ${cmd} to hang up.`);
await this.origin.send(`☎️ **${this.recipient.guild.name}** picked up! Type \`hang up\` to hang up.`);
await this.recipient.send(`☎️ Accepted call from **${this.origin.guild.name}**. Type \`hang up\` to hang up.`);
return this;
}