Files
xiao/commands/games-sp/bubble-wrap.js
T
2020-03-19 11:19:22 -04:00

27 lines
540 B
JavaScript

const Command = require('../../structures/Command');
module.exports = class BubbleWrapCommand extends Command {
constructor(client) {
super(client, {
name: 'bubble-wrap',
group: 'games-sp',
memberName: 'bubble-wrap',
description: 'Pop some bubble wrap.',
args: [
{
key: 'amount',
prompt: 'How many bubbles should there be?',
type: 'integer',
default: 156,
min: 1,
max: 250
}
]
});
}
run(msg, { amount }) {
return msg.say(new Array(amount).fill('||POP||').join(' '));
}
};