summaryrefslogtreecommitdiff
path: root/src/commands/fun/offspring.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/fun/offspring.ts')
-rw-r--r--src/commands/fun/offspring.ts24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/commands/fun/offspring.ts b/src/commands/fun/offspring.ts
new file mode 100644
index 0000000..7152a1c
--- /dev/null
+++ b/src/commands/fun/offspring.ts
@@ -0,0 +1,24 @@
+import { Command, CommandoMessage } from 'discord.js-commando';
+import emoji from 'emoji-random'
+const genders = ['boy', 'girl']
+
+module.exports = class OffspringFun extends Command {
+ constructor(client) {
+ super(client, {
+ name: 'offspring',
+ group: 'fun',
+ memberName: 'offspring',
+ description: 'Determines your child\'s gender.',
+ examples: ['uwu!offspring'],
+ throttling: {
+ usages: 5,
+ duration: 30
+ },
+ userPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY'],
+ clientPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY'],
+ });
+ }
+ run(msg: CommandoMessage) {
+ msg.reply(`It\'s a ${genders[Math.floor(Math.random() * genders.length)]}! ${emoji.random()}`)
+ }
+}; \ No newline at end of file