From c234388536c8c11e12575ea3e2112c78ce782e23 Mon Sep 17 00:00:00 2001 From: Max Wofford Date: Wed, 18 Sep 2019 12:55:12 -0400 Subject: [PATCH] Remove unused var & log --- src/interactions/trigger.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/interactions/trigger.js b/src/interactions/trigger.js index c3fa21d7..5af190a7 100644 --- a/src/interactions/trigger.js +++ b/src/interactions/trigger.js @@ -13,8 +13,7 @@ const getAdmin = (bot, user) => }) const triggerInteraction = (bot, message) => { - const { text, ts, channel } = message - console.log(message) + const { ts, channel } = message getAdmin(bot, message.user) .then(admin => {