[PCCompat] goosemod -> goosemodScope

This commit is contained in:
Ducko 2021-04-22 21:41:04 +01:00 committed by Lexi Sother
parent 8af61801e6
commit 0299ffed06
No known key found for this signature in database
GPG Key ID: 355968D14144B739
2 changed files with 2 additions and 2 deletions

View File

@ -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');
export const SwitchItem = goosemodScope.webpackModules.findByDisplayName('SwitchItem');

View File

@ -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