mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
22 lines
473 B
JavaScript
22 lines
473 B
JavaScript
const Command = require('../../structures/commands/AutoReply');
|
|
|
|
module.exports = class NoUCommand extends Command {
|
|
constructor(client) {
|
|
super(client, {
|
|
name: 'no-u',
|
|
aliases: ['no-you'],
|
|
group: 'auto',
|
|
memberName: 'no-u',
|
|
description: 'no u',
|
|
patterns: [/^n+o+ u+$/i]
|
|
});
|
|
}
|
|
|
|
generateText(fromPattern) {
|
|
if (!fromPattern) return 'no u';
|
|
const chance = Boolean(Math.floor(Math.random() * 2));
|
|
if (chance) return null;
|
|
return 'no u';
|
|
}
|
|
};
|