Skip to content

Commit

Permalink
Fix module search in commands API
Browse files Browse the repository at this point in the history
  • Loading branch information
colin273 committed Jun 19, 2024
1 parent 2c59983 commit 09c8613
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderer/apis/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ interface CommandsAndSection {
commands: Map<string, AnyRepluggedCommand>;
}

void waitForModule<typeof User>(filters.bySource(".isStaffPersonal=")).then((User) => {
void waitForModule<typeof User>(filters.bySource("hasHadPremium(){")).then((User) => {
RepluggedUser = new User({
avatar: "replugged",
id: "replugged",
Expand Down

0 comments on commit 09c8613

Please sign in to comment.