diff --git a/megalodon/src/megalodon.ts b/megalodon/src/megalodon.ts index 47b7d28..5b2a677 100644 --- a/megalodon/src/megalodon.ts +++ b/megalodon/src/megalodon.ts @@ -603,6 +603,7 @@ export interface MegalodonInterface { // ====================================== // accounts/tags // ====================================== + getFollowedTags(): Promise>> /** * GET /api/v1/tags/:id * diff --git a/megalodon/src/misskey.ts b/megalodon/src/misskey.ts index 2eaa257..fa0fb6a 100644 --- a/megalodon/src/misskey.ts +++ b/megalodon/src/misskey.ts @@ -1047,6 +1047,17 @@ export default class Misskey implements MegalodonInterface { // ====================================== // accounts/tags // ====================================== + public async getFollowedTags(): Promise>> { + const tags : Entity.Tag[] = []; + const res : Response = { + headers: undefined, + statusText: "", + status: 200, + data: tags + }; + return new Promise(resolve => resolve(res)) + } + public async getTag(_id: string): Promise> { return new Promise((_, reject) => { const err = new NoImplementedError('misskey does not support')