summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author8cy <[email protected]>2020-07-07 20:07:29 -0700
committer8cy <[email protected]>2020-07-07 20:07:29 -0700
commit23733da854fe196291570a00ebe5cd8b509a3d9c (patch)
tree8347b8a1c120978954c794a83542dfe17ed1ad2f
parentdelete rp init msgs (diff)
downloaddep-core-23733da854fe196291570a00ebe5cd8b509a3d9c.tar.xz
dep-core-23733da854fe196291570a00ebe5cd8b509a3d9c.zip
ugly cat command
-rw-r--r--src/commands/fun/uglycat.ts22
-rw-r--r--src/config.json2
2 files changed, 23 insertions, 1 deletions
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:[email protected]:47107/heroku_4qrjvmb9"
} \ No newline at end of file