mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-16 00:12:32 +02:00
Fix Everything
This commit is contained in:
@@ -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}`);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user