aboutsummaryrefslogtreecommitdiff
path: root/handler/command.js
diff options
context:
space:
mode:
authorMinteck <contact@minteck.org>2022-02-13 16:16:18 +0100
committerMinteck <contact@minteck.org>2022-02-13 16:16:18 +0100
commit327119b4d1c2248b8a075cad3cd05ab92560e75d (patch)
treece143399e74c120f7311e75490efd0defd9b58d8 /handler/command.js
parentede8d0750f3f16e3ba5c3c3f716c98d267512b09 (diff)
downloadponyfind-327119b4d1c2248b8a075cad3cd05ab92560e75d.tar.gz
ponyfind-327119b4d1c2248b8a075cad3cd05ab92560e75d.tar.bz2
ponyfind-327119b4d1c2248b8a075cad3cd05ab92560e75d.zip
Feature: implements #8, voids #9
Diffstat (limited to 'handler/command.js')
-rw-r--r--handler/command.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/handler/command.js b/handler/command.js
index c1957ae..9733e6c 100644
--- a/handler/command.js
+++ b/handler/command.js
@@ -16,6 +16,7 @@ const commandInfo = require('../commands/info');
const commandEval = require('../commands/eval');
const commandConfig = require('../commands/config');
const commandPony = require('../commands/pony');
+const commandEpisode = require('../commands/episode');
const commandHelp = require('../commands/help');
module.exports = async (interaction) => {
@@ -85,4 +86,8 @@ module.exports = async (interaction) => {
if (interaction.commandName === 'pony') {
await commandPony(interaction);
}
+
+ if (interaction.commandName === 'episode') {
+ await commandEpisode(interaction);
+ }
} \ No newline at end of file