Update 'index.js'

main
AAGaming 1 year ago
parent c5e2f9d61e
commit dff18c133a

@ -1,12 +1,11 @@
import Plugin from '@goosemod/plugin';
import { findByProps } from '@goosemod/webpack';
class LightySimulator extends Plugin {
onImport() {
const queue = goosemod.webpackModules.findByProps("enqueue");
const {getChannelId} = goosemod.webpackModules.findByProps("getChannelId", "getLastSelectedChannelId");
const {editMessage} = goosemod.webpackModules.findByProps("sendMessage", "editMessage");
const queue = findByProps("enqueue");
const {getChannelId} = findByProps("getChannelId", "getLastSelectedChannelId");
const {editMessage} = findByProps("sendMessage", "editMessage");
this.command('edit', 'Annoy message logger users', ({ text: [ { text } ] }) => {
const channel = getChannelId();
const msg = text.split('');

Loading…
Cancel
Save