summaryrefslogtreecommitdiff
path: root/src/commands/fun/cow.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/fun/cow.ts')
-rw-r--r--src/commands/fun/cow.ts26
1 files changed, 0 insertions, 26 deletions
diff --git a/src/commands/fun/cow.ts b/src/commands/fun/cow.ts
deleted file mode 100644
index e8fa60b..0000000
--- a/src/commands/fun/cow.ts
+++ /dev/null
@@ -1,26 +0,0 @@
-import { Command, CommandoMessage } from 'discord.js-commando';
-import cows from 'cows';
-
-module.exports = class CowFun extends Command {
- constructor(client) {
- super(client, {
- name: 'cow',
- aliases: ['cows'],
- group: 'fun',
- memberName: 'cow',
- description: 'Gives you a random cow.',
- throttling: {
- usages: 5,
- duration: 30
- },
- examples: ['uwu!cow', 'uwu!cows'],
- userPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY'],
- clientPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY']
- });
- }
- run(msg: CommandoMessage) {
- let cowNumber = Math.round((Math.random() * cows().length))
- let cow = cows()[cowNumber]
- msg.reply(`\`\`\`${cow}\`\`\``);
- }
-}; \ No newline at end of file