new: NoAutoReplyMention
This commit is contained in:
parent
5942bf8629
commit
62bf863d1c
2 changed files with 15 additions and 0 deletions
14
plugins/NoAutoReplyMention/manifest.json
Normal file
14
plugins/NoAutoReplyMention/manifest.json
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
"name": "NoAutoReplyMention",
|
||||
"description": "Turns off auto mention when replying to someone.",
|
||||
"authors": [
|
||||
{
|
||||
"name": "amsyarasyiq",
|
||||
"id": "492949202121261067"
|
||||
}
|
||||
],
|
||||
"main": "src/index.ts",
|
||||
"vendetta": {
|
||||
"icon": "ic_notif_off"
|
||||
}
|
||||
}
|
||||
1
plugins/NoAutoReplyMention/src/index.ts
Normal file
1
plugins/NoAutoReplyMention/src/index.ts
Normal file
|
|
@ -0,0 +1 @@
|
|||
export const onUnload = globalThis.vendetta.patcher.before("createPendingReply", globalThis.vendetta.metro.findByProps("createPendingReply"), ([arg]) => arg.shouldMention &&= false);
|
||||
Loading…
Add table
Reference in a new issue