mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-10 19:04:42 +02:00
Bubble Wrap Command
This commit is contained in:
@@ -118,7 +118,7 @@ don't grant that permission.
|
|||||||
|
|
||||||
## Commands
|
## Commands
|
||||||
|
|
||||||
Total: 369
|
Total: 370
|
||||||
|
|
||||||
### Utility:
|
### Utility:
|
||||||
|
|
||||||
@@ -341,6 +341,7 @@ Total: 369
|
|||||||
|
|
||||||
* **blackjack:** Play a game of blackjack.
|
* **blackjack:** Play a game of blackjack.
|
||||||
* **box-choosing:** Do you believe that there are choices in life? Taken from Higurashi Chapter 4.
|
* **box-choosing:** Do you believe that there are choices in life? Taken from Higurashi Chapter 4.
|
||||||
|
* **bubble-wrap:** Pop some bubble wrap.
|
||||||
* **captcha:** Try to guess what the captcha says.
|
* **captcha:** Try to guess what the captcha says.
|
||||||
* **chance:** Attempt to win with a 1 in 1000 (or your choice) chance of winning.
|
* **chance:** Attempt to win with a 1 in 1000 (or your choice) chance of winning.
|
||||||
* **doors:** Open the right door, and you win the money! Make the wrong choice, and you get the fire!
|
* **doors:** Open the right door, and you win the money! Make the wrong choice, and you get the fire!
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ module.exports = class CharacterCountCommand extends Command {
|
|||||||
constructor(client) {
|
constructor(client) {
|
||||||
super(client, {
|
super(client, {
|
||||||
name: 'character-count',
|
name: 'character-count',
|
||||||
aliases: ['characters', 'chars', 'length'],
|
aliases: ['characters', 'chars', 'length', 'char-count'],
|
||||||
group: 'analyze',
|
group: 'analyze',
|
||||||
memberName: 'character-count',
|
memberName: 'character-count',
|
||||||
description: 'Responds with the character count of text.',
|
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(' '));
|
||||||
|
}
|
||||||
|
};
|
||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "xiao",
|
"name": "xiao",
|
||||||
"version": "112.9.2",
|
"version": "112.10.0",
|
||||||
"description": "Your personal server companion.",
|
"description": "Your personal server companion.",
|
||||||
"main": "Xiao.js",
|
"main": "Xiao.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
Reference in New Issue
Block a user