Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 633 Bytes

README.md

File metadata and controls

31 lines (22 loc) · 633 Bytes

yosuga-bot

code check

japanese voice bot for discord

使い方

そのうち書く

VOICEVOX APIのAspida定義更新方法

  1. /src/voicevoxApi下で$ npx openapi2aspida -i localhost:50021/openapi.json 必要に応じてホストは変える
  2. /src/voicevoxApi/speakers/index.tsなど必要な部分にresBody: Readableを追加
export type Methods = {
  post: {
    query: {
      speaker: number;
    };

    status: 200;
    reqBody: Types.AudioQuery;
    resBody: Readable;
  };
};
  1. /src/voicevoxApi下で$ aspida