summaryrefslogtreecommitdiff
path: root/commands/quote.js
diff options
context:
space:
mode:
authors1n <[email protected]>2020-04-07 10:40:25 -0700
committerGitHub <[email protected]>2020-04-07 10:40:25 -0700
commit67e11c6747ea02b61d1b0604cf650ed03f294e01 (patch)
tree67f050cc81dea4b9b21f0d0349ecbdb263ecf221 /commands/quote.js
parentadd yt test, 1.3.0 (diff)
parentfinal test push before master (diff)
downloads5nical-67e11c6747ea02b61d1b0604cf650ed03f294e01.tar.xz
s5nical-67e11c6747ea02b61d1b0604cf650ed03f294e01.zip
Merge pull request #1 from 8cy/test
major codebase refactor, v1.3.0
Diffstat (limited to 'commands/quote.js')
-rw-r--r--commands/quote.js18
1 files changed, 18 insertions, 0 deletions
diff --git a/commands/quote.js b/commands/quote.js
new file mode 100644
index 0000000..133c9eb
--- /dev/null
+++ b/commands/quote.js
@@ -0,0 +1,18 @@
+const atquotes = require('at-quotes');
+
+module.exports = {
+ name: 'quote',
+ aliases: ['quotes'],
+ description: '',
+ execute(msg, args, bot) {
+ if (!args.length) {
+ msg.reply(atquotes.getQuote());
+ } else if (args[0] == 'finn') {
+ msg.reply(atquotes.getFinnQuote());
+ } else if (args[0] == 'jake') {
+ msg.reply(atquotes.getJakeQuote());
+ } else if (args[0] == 'ice-king') {
+ msg.reply(atquotes.getIceKingQuote());
+ }
+ }
+}; \ No newline at end of file