[Patcher > InternalMessage] Fix WP module grabbing for getting current channel ID

pull/62/head
Oj18 3 years ago
parent 3db7f5bb00
commit 45a2d030cb

@ -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(), '');

Loading…
Cancel
Save