From d95be1acbaa282c53508a33d85cdda2ea76c50da Mon Sep 17 00:00:00 2001 From: fawn Date: Fri, 10 Feb 2023 21:41:49 +0000 Subject: refactor: update plugins to use `$self` (#478) Co-authored-by: Ven --- src/plugins/callTimer.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/callTimer.tsx') diff --git a/src/plugins/callTimer.tsx b/src/plugins/callTimer.tsx index ff02256..f745bf6 100644 --- a/src/plugins/callTimer.tsx +++ b/src/plugins/callTimer.tsx @@ -75,7 +75,7 @@ export default definePlugin({ find: ".renderConnectionStatus=", replacement: { match: /(?<=renderConnectionStatus=.+\.channel,children:)\w/, - replace: "[$&, Vencord.Plugins.plugins.CallTimer.renderTimer(this.props.channel.id)]" + replace: "[$&, $self.renderTimer(this.props.channel.id)]" } }], renderTimer(channelId: string) { -- cgit