Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Commit

Permalink
chore(index): use events.debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Socketlike committed Aug 13, 2023
1 parent d949d94 commit 1ed3cb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export const stop = async (): Promise<void> => {
})
: config.get('pluginStopBehavior') === 'restartDiscord';

events.emit('debug', { type: 'stop', message: ['restart Discord:', res] });
events.debug('stop', ['restart Discord:', res]);

if (res) window.DiscordNative.app.relaunch();
};
Expand Down

0 comments on commit 1ed3cb5

Please sign in to comment.