From c215778860b28b36265a57249f15f69bec4c768a Mon Sep 17 00:00:00 2001 From: Leppunen Date: Tue, 15 Dec 2020 18:29:22 +0200 Subject: [PATCH] derp --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 4a35a27..491ee78 100644 --- a/index.js +++ b/index.js @@ -55,12 +55,12 @@ const getConnection = () => { const listID = msg.messageText.split(' ')[1]; const channel = msg.messageText.split(' ')[2]; if (!uuidRegex.test(listID)) { - return clients[1].say(msg.channelName, 'Invalid List ID!'); + return clients[0].say(msg.channelName, 'Invalid List ID!'); } const {body, statusCode} = await pnslClient(`BotLists/${listID}`); if (statusCode === 404) { - return clients[1].say(msg.channelName, 'List was not found.'); + return clients[0].say(msg.channelName, 'List was not found.'); } if (statusCode === 401) {