From bae17dee4af158062fc037228fbd9da2f443a77e Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Tue, 12 Nov 2024 16:58:24 -0500 Subject: [PATCH] Add more obvious indicator for voicemails --- commands/games-sp/tarot.js | 2 +- commands/voice/play.js | 2 +- package.json | 2 +- structures/phone/PhoneCall.js | 5 ++++- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/commands/games-sp/tarot.js b/commands/games-sp/tarot.js index 5272139e..0bb7b321 100644 --- a/commands/games-sp/tarot.js +++ b/commands/games-sp/tarot.js @@ -61,7 +61,7 @@ module.exports = class TarotCommand extends Command { One common meaning for this card is **${card.randomLightMeaning()}**. However, beware, as it could also mean **${card.randomShadowMeaning()}**. - Would you like me to keep going? Type **[y]es** or **[n]o**. + Would you like me to keep going? Reply with **[y]es** or **[n]o**. `, { files: [card.imagePath] }); const verification = await verify(msg.channel, msg.author); if (!verification) break; diff --git a/commands/voice/play.js b/commands/voice/play.js index 299450ba..d8568f5d 100644 --- a/commands/voice/play.js +++ b/commands/voice/play.js @@ -49,7 +49,7 @@ module.exports = class PlayCommand extends Command { const canPlay = this.canUseVideo(data, msg.channel.nsfw || false); if (!canPlay) return msg.reply('I cannot play this video.'); if (canPlay === 'length') return msg.reply('This video is longer than 15 minutes, so I can\'t play it.'); - await msg.reply('Is this the video you want to play? Type **[y]es** or **[n]o**.', { + await msg.reply('Is this the video you want to play? Reply with **[y]es** or **[n]o**.', { embeds: [this.generateEmbed(data)] }); const verification = await verify(msg.channel, msg.author); diff --git a/package.json b/package.json index 4ecbdbfc..a949fe3b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xiao", - "version": "152.4.2", + "version": "152.4.3", "description": "Your personal server companion.", "main": "Xiao.js", "scripts": { diff --git a/structures/phone/PhoneCall.js b/structures/phone/PhoneCall.js index ff71170c..080358e8 100644 --- a/structures/phone/PhoneCall.js +++ b/structures/phone/PhoneCall.js @@ -80,7 +80,10 @@ module.exports = class PhoneCall { : 'Declined the call.'; await this.recipient.send(`☎️ ${recipientMsg}`); if (validation === 0 && canVoicemail) { - await this.origin.send(`☎️ **${this.recipient.guild.name}** didn't answer... Leave a voicemail?`); + await this.origin.send(stripIndents` + ☎️ **${this.recipient.guild.name}** didn't answer... Leave a voicemail? + Reply with **[y]es** or **[n]o**. + `); const voicemailValidation = await verify(this.origin, null); if (voicemailValidation) { await this.origin.send('☎️ Please leave your message (max 280 characters) after the beep. _Beep_.');