mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-12 15:57:43 +02:00
Kiss Marry Kill Command
This commit is contained in:
@@ -0,0 +1,35 @@
|
|||||||
|
const { Command } = require('discord.js-commando');
|
||||||
|
const { shuffle } = require('../../structures/Util');
|
||||||
|
|
||||||
|
module.exports = class KissMarryKillCommand extends Command {
|
||||||
|
constructor(client) {
|
||||||
|
super(client, {
|
||||||
|
name: 'kiss-marry-kill',
|
||||||
|
aliases: ['kiss-kill-marry', 'kill-kiss-marry', 'kill-marry-kiss', 'marry-kiss-kill', 'marry-kill-kiss'],
|
||||||
|
group: 'random-res',
|
||||||
|
memberName: 'kiss-marry-kill',
|
||||||
|
description: 'Decides who to kiss, who to marry, and who to kill.',
|
||||||
|
args: [
|
||||||
|
{
|
||||||
|
key: 'thing1',
|
||||||
|
prompt: 'Who is the first person you choose?',
|
||||||
|
type: 'string'
|
||||||
|
}, {
|
||||||
|
key: 'thing2',
|
||||||
|
prompt: 'Who is the second person you choose?',
|
||||||
|
type: 'string'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: 'thing3',
|
||||||
|
prompt: 'Who is the third person you choose?',
|
||||||
|
type: 'string'
|
||||||
|
}
|
||||||
|
]
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
run(msg, { thing1, thing2, thing3 }) {
|
||||||
|
const things = shuffle([thing1, thing2, thing3]);
|
||||||
|
return msg.say(`I'd kiss ${things[0]}, marry ${things[1]}, and kill ${things[2]}.`);
|
||||||
|
}
|
||||||
|
};
|
||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "xiaobot",
|
"name": "xiaobot",
|
||||||
"version": "44.0.2",
|
"version": "44.1.0",
|
||||||
"description": "Your personal server companion.",
|
"description": "Your personal server companion.",
|
||||||
"main": "Shard.js",
|
"main": "Shard.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
Reference in New Issue
Block a user