mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-06 14:20:51 +02:00
Bubble Wrap Command
This commit is contained in:
@@ -5,7 +5,7 @@ module.exports = class CharacterCountCommand extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: 'character-count',
|
||||
aliases: ['characters', 'chars', 'length'],
|
||||
aliases: ['characters', 'chars', 'length', 'char-count'],
|
||||
group: 'analyze',
|
||||
memberName: 'character-count',
|
||||
description: 'Responds with the character count of text.',
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
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(' '));
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user