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 => {