From 9308c503ab0fedfbd41513884a6b7b7ade6819fe Mon Sep 17 00:00:00 2001 From: Loic Bersier Date: Tue, 4 Dec 2018 16:30:38 +0100 Subject: [PATCH] updated sayd --- commands/fun/sayd.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/commands/fun/sayd.js b/commands/fun/sayd.js index e85dca94..68c4ea6e 100644 --- a/commands/fun/sayd.js +++ b/commands/fun/sayd.js @@ -8,7 +8,7 @@ module.exports = class saydCommand extends Command { aliases: ['repeatd'], group: 'fun', memberName: 'sayd', - description: `Repeat the text you send and dellete it afterward ( can also use [verb] [noun] [adverbs] [adjective] [activitie] [celebreties] [countrie] [diseases] [elements] [hobbie] [music] [prefixe] [pronoun] [state] [title] [unit] [member] [number] to replace it with something else )`, + description: `Repeat the text you send and delete it after ward( can also use [verb] [noun] [adverbs] [adjective] [activities] [celebrities] [countries] [diseases] [elements] [hobbies] [music] [prefixes] [pronoun] [state] [title] [unit] [member] [number] to replace it with something else )`, args: [ { key: 'text', @@ -73,6 +73,7 @@ module.exports = class saydCommand extends Command { // Verify if it replaced everything } while( text.includes('[verb]') || text.includes('[adverbs]') || text.includes('[noun]') || text.includes('[adjective]') || text.includes('[member]') || text.includes('[number]') || text.includes('[activities]') || text.includes('[celebrities]') || text.includes('[countries]') || text.includes('[diseases]') || text.includes('[elements]') || text.includes('[hobbies]') || text.includes('[music]') || text.includes('[prefixes]') || text.includes('[pronoun]') || text.includes('[state]') || text.includes('[title]') || text.includes('[unit]')) + // Send the final text message.delete(); message.say(text);