Creating your bot in the Discord Developer Portal - chicklightning/tcg-pocket-trading-bot GitHub Wiki
We need to set up a bot in the Discord Developer Portal so we can generate the necessary tokens and IDs to use the Discord API, which is what lets our bot communicate with users and guilds via Discord.
Setting up your bot in Discord
discord.js actually has a great page explaining how to set up a bot in the Discord Developer Portal, so I will outsource this section to them.
Adding your bot to servers
Coincidentally, they have a great page for this too!
Next steps
Next, you'll want to set up your local Postgres database.