From 45a2d030cb9d4aa3501d2a36da75b372c3a82e72 Mon Sep 17 00:00:00 2001 From: Oj18 Date: Sat, 30 Oct 2021 11:13:21 +0100 Subject: [PATCH] [Patcher > InternalMessage] Fix WP module grabbing for getting current channel ID --- src/util/patcher/internalMessage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/patcher/internalMessage.js b/src/util/patcher/internalMessage.js index bd051ad3..83664cae 100644 --- a/src/util/patcher/internalMessage.js +++ b/src/util/patcher/internalMessage.js @@ -12,7 +12,7 @@ export const setThisScope = (scope) => { export const send = (content, author = 'GooseMod') => { // Get Webpack Modules const { createBotMessage } = goosemodScope.webpackModules.findByProps('createBotMessage'); - const { getChannelId } = goosemodScope.webpackModules.findByProps('getChannelId'); + const { getChannelId } = goosemodScope.webpackModules.findByProps('getChannelId', 'getVoiceChannelId'); const { receiveMessage } = goosemodScope.webpackModules.findByProps('receiveMessage', 'sendBotMessage'); const msg = createBotMessage(getChannelId(), '');