new: NoAutoReplyMention

This commit is contained in:
amsyarasyiq 2023-03-06 13:49:41 +08:00
parent 5942bf8629
commit 62bf863d1c
2 changed files with 15 additions and 0 deletions

View 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"
}
}

View file

@ -0,0 +1 @@
export const onUnload = globalThis.vendetta.patcher.before("createPendingReply", globalThis.vendetta.metro.findByProps("createPendingReply"), ([arg]) => arg.shouldMention &&= false);