summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
author8cy <[email protected]>2020-07-07 21:31:20 -0700
committer8cy <[email protected]>2020-07-07 21:31:20 -0700
commit6bf23f1213c1d35fa414b1d243af5052a3910350 (patch)
treefbb1f255166646ca34bfaf990e9a9cb108c65314 /src
parentugly cat command (diff)
downloaddep-core-6bf23f1213c1d35fa414b1d243af5052a3910350.tar.xz
dep-core-6bf23f1213c1d35fa414b1d243af5052a3910350.zip
mdplz
Diffstat (limited to 'src')
-rw-r--r--src/commands/fun/modplz.ts29
-rw-r--r--src/config.json2
2 files changed, 30 insertions, 1 deletions
diff --git a/src/commands/fun/modplz.ts b/src/commands/fun/modplz.ts
new file mode 100644
index 0000000..14f9955
--- /dev/null
+++ b/src/commands/fun/modplz.ts
@@ -0,0 +1,29 @@
+import { Command, CommandoMessage, CommandoClient } from 'discord.js-commando';
+import { MessageEmbed } from 'discord.js';
+
+module.exports = class ModPlzFun extends Command {
+ constructor(client: CommandoClient) {
+ super(client, {
+ name: 'modplz',
+ group: 'fun',
+ memberName: 'modplz',
+ description: 'Send this when someone talking about mods.',
+ examples: [
+ 'uwu!modplz'
+ ],
+ userPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY'],
+ clientPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY'],
+ throttling: {
+ usages: 5,
+ duration: 30
+ },
+ });
+ }
+ run(msg: CommandoMessage) {
+ msg.delete()
+ let emb = new MessageEmbed()
+ .setColor(0xFFD0DF)
+ .setImage('https://discordapp.com/channels/663964105983393793/664659637039005696/730279064132255794')
+ return msg.say(emb)
+ }
+}; \ No newline at end of file
diff --git a/src/config.json b/src/config.json
index ca59f81..ec9e201 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.28",
+ "version":"1.10.29",
"fortniteTrackerNetworkToken": "4cf21f95-5f1a-412a-b4a7-e5424adc314a",
"mongodburi": "mongodb://sin:[email protected]:47107/heroku_4qrjvmb9"
} \ No newline at end of file