From 2d0b698b3b4901ed7105882a2adc5439566c4c20 Mon Sep 17 00:00:00 2001 From: Minteck Date: Mon, 14 Mar 2022 21:43:52 +0100 Subject: Implements #18 --- handler/command.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'handler/command.js') 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); } -- cgit