From c18f6b5448055bfa6797c2b9d2f36912bb8fed33 Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Fri, 6 Oct 2017 11:15:02 +0000 Subject: [PATCH] Peep --- XiaoBot.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/XiaoBot.js b/XiaoBot.js index e07db4b4..187c359e 100644 --- a/XiaoBot.js +++ b/XiaoBot.js @@ -16,6 +16,7 @@ const whitelist = ['110373943822540800', '264445053596991498']; client.registry .registerDefaultTypes() + .registerTypesIn(path.join(__dirname, 'types')) .registerGroups([ ['util', 'Utility'], ['guild-info', 'Server Info'], @@ -37,8 +38,7 @@ client.registry prefix: false, commandState: false }) - .registerCommandsIn(path.join(__dirname, 'commands')) - .registerTypesIn(path.join(__dirname, 'types')); + .registerCommandsIn(path.join(__dirname, 'commands')); client.on('ready', () => { console.log(`[READY] Shard ${client.shard.id} logged in as ${client.user.tag}! (${client.user.id})`);