Last active
November 23, 2025 23:53
-
-
Save alpaca-honke/39ecd3882fba4a717fa9f155b2c47297 to your computer and use it in GitHub Desktop.
Misskeyにおいて、他のユーザーのノートをリノートして、そのリノートを自分のプロフィールにピン留めするプラグインです。リノート解除でピン留めも解除されます。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /// @ 1.1.2 | |
| ### { | |
| name: "他のユーザーのノートをリノートして自分のプロフィールにピン留め" | |
| version: 0.0 | |
| author: "Alkappa/alpaca-honke" | |
| description: "他のユーザーのノートをリノートして、そのリノートを自分のプロフィールにピン留めします。リノート解除でピン留めも解除されます。" | |
| permissions: ["write:notes", "write:account"] | |
| config: null | |
| } | |
| @RenoteAndPin(note) { | |
| let renote_note = Mk:api("notes/create", {renoteId: note.id}) | |
| let renote_id = renote_note.createdNote.id | |
| Mk:api("i/pin", {noteId: renote_id}) | |
| Mk:dialog("完了", "ピン留めしました", "success") | |
| } | |
| Plugin:register_note_action("RNしてピン留め" RenoteAndPin) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment