Fix Everything

This commit is contained in:
Daniel Odendahl Jr
2017-06-01 18:31:20 +00:00
parent 66706d9c7b
commit 4e1f83a30f
85 changed files with 721 additions and 851 deletions
+3 -3
View File
@@ -11,8 +11,7 @@ module.exports = class RepeatCommand extends Command {
{
key: 'text',
prompt: 'What text would you like to repeat over and over and over and over?',
type: 'string',
parse: (text) => text.repeat(2000).substr(0, 1999)
type: 'string'
}
]
});
@@ -20,6 +19,7 @@ module.exports = class RepeatCommand extends Command {
run(msg, args) {
const { text } = args;
return msg.say(`\u180E${text}`);
const converted = text.repeat(2000).substr(0, 1999);
return msg.say(`\u180E${converted}`);
}
};