Add more obvious indicator for voicemails

This commit is contained in:
Dragon Fire
2024-11-12 16:58:24 -05:00
parent e3c73336ce
commit bae17dee4a
4 changed files with 7 additions and 4 deletions
+1 -1
View File
@@ -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;
+1 -1
View File
@@ -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);
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "xiao",
"version": "152.4.2",
"version": "152.4.3",
"description": "Your personal server companion.",
"main": "Xiao.js",
"scripts": {
+4 -1
View File
@@ -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_.');