Update src/plugins/replyPingControl/index.ts

Co-authored-by: MrDiamondDog <84212701+MrDiamondDog@users.noreply.github.com>
This commit is contained in:
ant0n 2023-11-11 17:40:21 +00:00 committed by GitHub
parent a7d9fdb1bf
commit 1c047ae611
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -27,7 +27,7 @@ export default definePlugin({
{
find: "_channelMessages",
replacement: {
match: /receiveMessage\((\w+)\)\{/,
match: /receiveMessage\((\i)\)\{/,
replace: "$&$self.modifyMentions($1);"
}
}