mirror of
https://github.com/Equicord/Equicord.git
synced 2025-05-11 18:05:37 +02:00
Some porting
This commit is contained in:
parent
89c4e489f5
commit
ea8c134159
24 changed files with 111 additions and 100 deletions
|
@ -199,11 +199,11 @@ page.on("console", async e => {
|
|||
|
||||
const firstArg = await rawArgs[0]?.jsonValue();
|
||||
|
||||
const isVencord = firstArg === "[Vencord]";
|
||||
const isEquicord = firstArg === "[Equicord]";
|
||||
const isDebug = firstArg === "[PUP_DEBUG]";
|
||||
|
||||
outer:
|
||||
if (isVencord) {
|
||||
if (isEquicord) {
|
||||
try {
|
||||
var args = await Promise.all(e.args().map(a => a.jsonValue()));
|
||||
} catch {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue