aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/apiMessageEvents.ts
diff options
context:
space:
mode:
authorVendicated <vendicated@riseup.net>2022-11-02 20:13:55 +0100
committerVendicated <vendicated@riseup.net>2022-11-02 20:13:55 +0100
commit5e1b42120c647afb0fbd531d7fa795ef606742db (patch)
treefc625956f0d8d3215670a7e51f207ebdded15c65 /src/plugins/apiMessageEvents.ts
parent676f5c7e30d5222d767e01c631ac45e8cbfbccfe (diff)
downloadVencord-5e1b42120c647afb0fbd531d7fa795ef606742db.tar.gz
Vencord-5e1b42120c647afb0fbd531d7fa795ef606742db.tar.bz2
Vencord-5e1b42120c647afb0fbd531d7fa795ef606742db.zip
Fix plugins on new update
Diffstat (limited to 'src/plugins/apiMessageEvents.ts')
-rw-r--r--src/plugins/apiMessageEvents.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/apiMessageEvents.ts b/src/plugins/apiMessageEvents.ts
index 5dab033..541c12d 100644
--- a/src/plugins/apiMessageEvents.ts
+++ b/src/plugins/apiMessageEvents.ts
@@ -35,7 +35,7 @@ export default definePlugin({
}]
},
{
- find: "if(e.altKey){",
+ find: '("interactionUsernameProfile',
replacement: {
match: /var \w=(\w)\.id,\w=(\w)\.id;return .{1,2}\.useCallback\(\(?function\((.{1,2})\){/,
replace: (m, message, channel, event) =>