forked from Supositware/Haha-Yes
forgot to delete the message
This commit is contained in:
parent
cb38ef3eb8
commit
74a1702f9b
1 changed files with 3 additions and 1 deletions
|
@ -8,7 +8,8 @@ module.exports = class saydCommand extends Command {
|
|||
aliases: ['repeatd'],
|
||||
group: 'fun',
|
||||
memberName: 'sayd',
|
||||
description: `Repeat the text you send ( can also use [verb] [noun] [adverb] [adjective] [activitie] [celebreties] [countrie] [diseases] [elements] [hobbie] [music] [prefixe] [pronoun] [state] [title] [unit] [member] [number] to replace it with something else )`, args: [
|
||||
description: `Repeat the text you send and dellete it afterward ( can also use [verb] [noun] [adverb] [adjective] [activitie] [celebreties] [countrie] [diseases] [elements] [hobbie] [music] [prefixe] [pronoun] [state] [title] [unit] [member] [number] to replace it with something else )`,
|
||||
args: [
|
||||
{
|
||||
key: 'text',
|
||||
prompt: 'What do you want me to say',
|
||||
|
@ -73,6 +74,7 @@ module.exports = class saydCommand extends Command {
|
|||
} while( text.includes('[verb]') || text.includes('[adverb]') || 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);
|
||||
}
|
||||
};
|
Loading…
Reference in a new issue