mirror of
https://github.com/Vendicated/Vencord.git
synced 2025-01-25 08:46:25 +00:00
guh
This commit is contained in:
parent
6ea1c6e489
commit
c7e8f1d7c1
2 changed files with 10 additions and 1 deletions
|
@ -61,7 +61,7 @@ export default definePlugin({
|
|||
},
|
||||
|
||||
start() {
|
||||
// if were running the reporter, we need to initws in the reporter file to avoid a race condition
|
||||
// if we're running the reporter, we need to initws in the reporter file to avoid a race condition
|
||||
if (!IS_COMPANION_TEST)
|
||||
initWs();
|
||||
},
|
||||
|
|
|
@ -125,6 +125,15 @@ export function initWs(isManual = false) {
|
|||
toggleEnabled(pluginName, reply);
|
||||
break;
|
||||
}
|
||||
case "rawId": {
|
||||
const { id } = data;
|
||||
replyData({
|
||||
ok: true,
|
||||
data: extractModule(id),
|
||||
type: "ret"
|
||||
});
|
||||
break;
|
||||
}
|
||||
case "diff": {
|
||||
try {
|
||||
const { extractType, idOrSearch } = data;
|
||||
|
|
Loading…
Reference in a new issue