mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-15 09:33:03 -04:00
feat(nitroBypass): add sticker bypass (#184)
Co-authored-by: Vendicated <vendicated@riseup.net>
This commit is contained in:
parent
d69dfd6205
commit
7d5ade21fc
6 changed files with 307 additions and 55 deletions
|
@ -28,7 +28,7 @@ export default definePlugin({
|
|||
find: "sendMessage:function",
|
||||
replacement: [{
|
||||
match: /(?<=_sendMessage:function\([^)]+\)){/,
|
||||
replace: "{Vencord.Api.MessageEvents._handlePreSend(...arguments);"
|
||||
replace: "{if(Vencord.Api.MessageEvents._handlePreSend(...arguments)){return;};"
|
||||
}, {
|
||||
match: /(?<=\beditMessage:function\([^)]+\)){/,
|
||||
replace: "{Vencord.Api.MessageEvents._handlePreEdit(...arguments);"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue