diff --git a/moduleWrappers/powercord/components/settings/index.js b/moduleWrappers/powercord/components/settings/index.js index 2da23dd..15b14e9 100644 --- a/moduleWrappers/powercord/components/settings/index.js +++ b/moduleWrappers/powercord/components/settings/index.js @@ -2,4 +2,4 @@ export { default as FormItem } from './formItem'; export { default as TextInput } from './textInput'; export { default as Divider } from './divider'; -export const SwitchItem = goosemod.webpackModules.findByDisplayName('SwitchItem'); \ No newline at end of file +export const SwitchItem = goosemodScope.webpackModules.findByDisplayName('SwitchItem'); \ No newline at end of file diff --git a/moduleWrappers/powercord/global/commands.js b/moduleWrappers/powercord/global/commands.js index f8cbb87..e87bbb6 100644 --- a/moduleWrappers/powercord/global/commands.js +++ b/moduleWrappers/powercord/global/commands.js @@ -1,5 +1,5 @@ const sendMessage = goosemodScope.webpackModules.findByProps('sendMessage', 'receiveMessage').sendMessage; -const getChannelId = goosemod.webpackModules.findByProps('getChannelId').getChannelId; +const getChannelId = goosemodScope.webpackModules.findByProps('getChannelId').getChannelId; export const registerCommand = ({ command, alias, description, usage, executor }) => { // TODO: implement alias