From 23733da854fe196291570a00ebe5cd8b509a3d9c Mon Sep 17 00:00:00 2001 From: 8cy <50817549+8cy@users.noreply.github.com> Date: Tue, 7 Jul 2020 20:07:29 -0700 Subject: ugly cat command --- src/commands/fun/uglycat.ts | 22 ++++++++++++++++++++++ src/config.json | 2 +- 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 src/commands/fun/uglycat.ts (limited to 'src') diff --git a/src/commands/fun/uglycat.ts b/src/commands/fun/uglycat.ts new file mode 100644 index 0000000..27a31fb --- /dev/null +++ b/src/commands/fun/uglycat.ts @@ -0,0 +1,22 @@ +import { Command, CommandoMessage, CommandoClient } from 'discord.js-commando'; + +module.exports = class UglyCatFun extends Command { + constructor(client: CommandoClient) { + super(client, { + name: 'uglycat', + group: 'fun', + memberName: 'uglycat', + description: 'Sends an ugly cat.', + userPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY', 'EMBED_LINKS'], + clientPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY', 'EMBED_LINKS'], + examples: ['uwu!uglycat'], + throttling: { + usages: 5, + duration: 30 + }, + }); + } + run(msg: CommandoMessage) { + return msg.say({ files: ['https://i.pinimg.com/originals/4d/19/0f/4d190f1307b35e7155bb4b898e19d545.jpg'] }) + } +}; \ No newline at end of file diff --git a/src/config.json b/src/config.json index 9dc3239..ca59f81 100644 --- a/src/config.json +++ b/src/config.json @@ -2,7 +2,7 @@ "secret":"Njk5NDczMjYzOTk4MjcxNDg5.XpU5oQ.btZuxVudhNllSQY6CxrXXtMJm9A", "secret-dev":"NzEyMDg4MzY5MjA2OTE5MjY5.XsMeEw.Yy0a8m2vZLDbPi7cZ8aqCalMR68", "yt-api-key":"AIzaSyCeG1lQAeInv4vjFv_eTL9IFAFNdQC9Nk8", - "version":"1.10.27", + "version":"1.10.28", "fortniteTrackerNetworkToken": "4cf21f95-5f1a-412a-b4a7-e5424adc314a", "mongodburi": "mongodb://sin:cSDZEygGZz232eJ5bS@ds047107.mlab.com:47107/heroku_4qrjvmb9" } \ No newline at end of file -- cgit v1.2.3