https://discord.com/api/oauth2/authorize?client_id=733789329104699454&permissions=67584&scope=bot
- Create
.env
file, add to.gitignore
. - Create a new application and retrieve bot token from discord at https://discord.com/login?redirect_to=%2Fdevelopers. Add to
.env
asTOKEN
value. - Generate MongoDB URI connection string either with locally running instance or using Mongo Atlas. Add to
.env
asMONGO_URI
value. - Invite your bot to your development server using link in oAuth permissions section of your application on Discord.
node index.js
- Creates one or more new enemies, set with 0 damage and a unique name.
- Lists all created enemies for the current channels.
- Increase an enemies total damage.
- Remove an enemy permanently from the game.