Discord bot that sends a screenshot of any website that is linked to.
- 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
. - Make sure you have Yarn 1.22 or newer installed (
npm install -g yarn
). - Run
yarn
to ensure all dependencies are installed. - Create a file called
dev-config.json
with the following contents:You can get the first 3 from the dashboard of your Discord app.{ "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>"] }
- 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. - Run
yarn dev
.