linningmii / midjourney-api

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Get started

Follow the .env.example.json file to create a ".env.json" under the root folder before start.

yarn && yarn dev

How to get your discord token

Login DiscordF12 OR Ctrl + Shift + I (or Command + Option + I on Mac) to open the developer tools AND paste the following code into the console

window.webpackChunkdiscord_app.push([
  [Math.random()],
  {},
  (req) => {
    for (const m of Object.keys(req.c)
      .map((x) => req.c[x].exports)
      .filter((x) => x)) {
      if (m.default && m.default.getToken !== undefined) {
        return copy(m.default.getToken());
      }
      if (m.getToken !== undefined) {
        return copy(m.getToken());
      }
    }
  },
]);
console.log("%cWorked!", "font-size: 50px");
console.log(`%cYou now have your token in the clipboard!`, "font-size: 16px");

Connect Midjourney to your server

Create a server and Invite Midjourney Bot to Your Server

About


Languages

Language:TypeScript 100.0%