Created
November 27, 2023 13:45
-
-
Save alpaca-honke/394dd66ba9705bfcd44c51ddb91bddb4 to your computer and use it in GitHub Desktop.
他の人のノートをプロフィールにピン留めするMisskeyプラグインのインストール用API
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
| { | |
| "type": "plugin", | |
| "data": "/// @ 0.13.2\n### {\n name: '他のユーザーのノートをリノートして自分のプロフィールにピン留め'\n version: 0.0\n author: 'Alkappa/alpaca-honke'\n description: '他のユーザーのノートをリノートして、そのリノートを自分のプロフィールにピン留めします。リノート解除でピン留めも解除されます。'\n permissions: ['write:notes', 'write:account']\n config: null\n}\n\n\n@RenoteAndPin(note) {\n let renote_note = Mk:api('notes/create' {renoteId: note.id})\n let renote_id = renote_note.createdNote.id\n Mk:api('i/pin', {noteId: renote_id})\n Mk:dialog('完了' 'ピン留めしました' 'success')\n}\n\nPlugin:register_note_action('RNしてピン留め' RenoteAndPin)" | |
| } |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
手動インストールはこちらから
https://gist.github.com/alpaca-honke/8b9763e89f5642596ec022926f573e5d