Skip to content

Commit

Permalink
meow
Browse files Browse the repository at this point in the history
  • Loading branch information
yofukashino committed Apr 23, 2024
1 parent 19b5c44 commit 11702c2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import Types from "../types";

export default (): void => {
PluginInjector.before(
Modules.GatewayConnectionStore.getSocket(),
Modules.GatewayConnection.default.prototype,
"voiceStateUpdate",
(args: [Types.voiceStateUpdateArgs]) => {
const [voiceStateUpdateArgs] = args;
Expand Down
4 changes: 2 additions & 2 deletions src/injections/index.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import Modules from "../lib/requiredModules";
import injectAudioResolver from "./AudioResolver";
import injectCenterControlTray from "./CenterControlTray";
import injectGatewayConnectionStore from "./GatewayConnectionStore";
import injectGatewayConnection from "./GatewayConnection";
import injectAccountContextMenu from "./AccountContextMenu";
import injectSettingSetter from "./SettingValues";
export const applyInjections = async (): Promise<void> => {
await Modules.loadModules();
void injectAudioResolver();
injectCenterControlTray();
injectGatewayConnectionStore();
injectGatewayConnection();
injectAccountContextMenu();
injectSettingSetter();
};
Expand Down

0 comments on commit 11702c2

Please sign in to comment.