mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-12 15:57:43 +02:00
Smash or Pass Command
This commit is contained in:
@@ -236,10 +236,12 @@ Total: 371
|
|||||||
|
|
||||||
* **butt:** Determines a user's butt quality.
|
* **butt:** Determines a user's butt quality.
|
||||||
* **coolness:** Determines a user's coolness.
|
* **coolness:** Determines a user's coolness.
|
||||||
|
* **dick:** Determines your dick size. (NSFW)
|
||||||
* **guess-looks:** Guesses what a user looks like.
|
* **guess-looks:** Guesses what a user looks like.
|
||||||
* **iq:** Determines a user's IQ.
|
* **iq:** Determines a user's IQ.
|
||||||
* **psycho-pass:** Determines your Crime Coefficient.
|
* **psycho-pass:** Determines your Crime Coefficient.
|
||||||
* **ship:** Ships two users together.
|
* **ship:** Ships two users together.
|
||||||
|
* **smash-or-pass:** Determines if a user is worthy of a smash or a pass.
|
||||||
|
|
||||||
### Events:
|
### Events:
|
||||||
|
|
||||||
@@ -327,7 +329,6 @@ Total: 371
|
|||||||
* **age:** Responds with how old someone born in a certain year is.
|
* **age:** Responds with how old someone born in a certain year is.
|
||||||
* **character-count:** Responds with the character count of text.
|
* **character-count:** Responds with the character count of text.
|
||||||
* **chinese-zodiac:** Responds with the Chinese Zodiac Sign for the given year.
|
* **chinese-zodiac:** Responds with the Chinese Zodiac Sign for the given year.
|
||||||
* **dick:** Determines your dick size. (NSFW)
|
|
||||||
* **face:** Determines the race, gender, and age of a face.
|
* **face:** Determines the race, gender, and age of a face.
|
||||||
* **gender:** Determines the gender of a name.
|
* **gender:** Determines the gender of a name.
|
||||||
* **read-qr-code:** Reads a QR Code.
|
* **read-qr-code:** Reads a QR Code.
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ module.exports = class DickCommand extends Command {
|
|||||||
super(client, {
|
super(client, {
|
||||||
name: 'dick',
|
name: 'dick',
|
||||||
aliases: ['dick-size', 'penis', 'penis-size', 'pee-pee', 'pee-pee-size', 'cock', 'cock-size'],
|
aliases: ['dick-size', 'penis', 'penis-size', 'pee-pee', 'pee-pee-size', 'cock', 'cock-size'],
|
||||||
group: 'analyze',
|
group: 'seeded',
|
||||||
memberName: 'dick',
|
memberName: 'dick',
|
||||||
description: 'Determines your dick size.',
|
description: 'Determines your dick size.',
|
||||||
nsfw: true,
|
nsfw: true,
|
||||||
@@ -0,0 +1,29 @@
|
|||||||
|
const Command = require('../../structures/Command');
|
||||||
|
const { MersenneTwister19937, bool } = require('random-js');
|
||||||
|
|
||||||
|
module.exports = class SmashOrPassCommand extends Command {
|
||||||
|
constructor(client) {
|
||||||
|
super(client, {
|
||||||
|
name: 'smash-or-pass',
|
||||||
|
aliases: ['pass-or-smash', 'smash-pass', 'pass-smash'],
|
||||||
|
group: 'seeded',
|
||||||
|
memberName: 'smash-or-pass',
|
||||||
|
description: 'Determines if a user is worthy of a smash or a pass.',
|
||||||
|
args: [
|
||||||
|
{
|
||||||
|
key: 'user',
|
||||||
|
prompt: 'What user do you want to check?',
|
||||||
|
type: 'user',
|
||||||
|
default: msg => msg.author
|
||||||
|
}
|
||||||
|
]
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
run(msg, { user }) {
|
||||||
|
if (user.id === this.client.user.id) return msg.reply('Obviously smash, Google me.');
|
||||||
|
const random = MersenneTwister19937.seed(user.id);
|
||||||
|
const smashOrPass = bool()(random);
|
||||||
|
return msg.reply(smashOrPass ? 'Smash, I\'d definitely smash.' : 'Hard pass. Yuck.');
|
||||||
|
}
|
||||||
|
};
|
||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "xiao",
|
"name": "xiao",
|
||||||
"version": "112.11.1",
|
"version": "112.12.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