mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-27 06:37:32 +02:00
Change arg assignment
This commit is contained in:
@@ -21,8 +21,7 @@ module.exports = class RepeatCommand extends Command {
|
||||
});
|
||||
}
|
||||
|
||||
run(msg, args) {
|
||||
const { text } = args;
|
||||
run(msg, { text }) {
|
||||
return msg.say(text.repeat(2000).substr(0, 2000));
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user