Skip to content

Latest commit

 

History

History
21 lines (18 loc) · 942 Bytes

README.md

File metadata and controls

21 lines (18 loc) · 942 Bytes

Screenbot

Discord bot that sends a screenshot of any website that is linked to.

Running

  1. Make sure you're running a version of Node.js between v16.13 and v17. I recommend n for this. Simply install it and run n engine.
  2. Make sure you have Yarn 1.22 or newer installed (npm install -g yarn).
  3. Run yarn to ensure all dependencies are installed.
  4. Create a file called dev-config.json with the following contents:
    {
        "discord_token": "<bot token here>",
        "discord_key": "<app public key here>",
        "discord_app_id": "<app id here>",
        "dev_guilds:" ["<test guild ids here, you can put more than one>"]
    }
    You can get the first 3 from the dashboard of your Discord app.
  5. Run yarn dev:register to register the command in all the test guilds. This will need to be redone every time the command data changes or you add a test guild.
  6. Run yarn dev.