|
|
@ -12,7 +12,7 @@ export const setThisScope = (scope) => {
|
|
|
|
export const send = (content, author = 'GooseMod') => {
|
|
|
|
export const send = (content, author = 'GooseMod') => {
|
|
|
|
// Get Webpack Modules
|
|
|
|
// Get Webpack Modules
|
|
|
|
const { createBotMessage } = goosemodScope.webpackModules.findByProps('createBotMessage');
|
|
|
|
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 { receiveMessage } = goosemodScope.webpackModules.findByProps('receiveMessage', 'sendBotMessage');
|
|
|
|
|
|
|
|
|
|
|
|
const msg = createBotMessage(getChannelId(), '');
|
|
|
|
const msg = createBotMessage(getChannelId(), '');
|
|
|
|