aboutsummaryrefslogtreecommitdiff
path: root/handler/command.js
diff options
context:
space:
mode:
authorMinteck <contact@minteck.org>2022-03-14 21:43:52 +0100
committerMinteck <contact@minteck.org>2022-03-14 21:43:52 +0100
commit2d0b698b3b4901ed7105882a2adc5439566c4c20 (patch)
tree08c34d5fddd95b7ff206d0eff9d46e537f4801aa /handler/command.js
parent80baef5480d168210b3be920ec921d3d6d0b8234 (diff)
downloadponyfind-2d0b698b3b4901ed7105882a2adc5439566c4c20.tar.gz
ponyfind-2d0b698b3b4901ed7105882a2adc5439566c4c20.tar.bz2
ponyfind-2d0b698b3b4901ed7105882a2adc5439566c4c20.zip
Implements #18
Diffstat (limited to 'handler/command.js')
-rwxr-xr-xhandler/command.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/handler/command.js b/handler/command.js
index 2be1c92..1179701 100755
--- a/handler/command.js
+++ b/handler/command.js
@@ -41,6 +41,7 @@ const commandInfo = require('../commands/info');
const commandEval = require('../commands/eval');
const commandConfig = require('../commands/config');
const commandPony = require('../commands/pony');
+const commandColor = require('../commands/color');
const commandEpisode = require('../commands/episode');
const commandHelp = require('../commands/help');
@@ -112,6 +113,10 @@ module.exports = async (interaction) => {
await commandPony(interaction);
}
+ if (interaction.commandName === 'color') {
+ await commandColor(interaction);
+ }
+
if (interaction.commandName === 'episode') {
await commandEpisode(interaction);
}