🎲 Add the fun of opening crates to Smash! 🎲
Personalized random character picker for Super Smash Bros. Ultimate using Hearthstone pack mechanics.
Go to this link and select your server: https://discord.com/oauth2/authorize?client_id=805982500110204928&scope=bot
- Node.js
- TypeScript See tsconfig.json
- Discord Developer Portal
- Discord.js See npm dependencies
- Lodash See npm dependencies
- Docker See Dockerfile
Based on the SitePoint article: https://www.sitepoint.com/discord-bot-node-js/
- Clone repo
- Pull dependencies with run
npm install
- Compile typescript with run
npm run deploy
- Set TOKEN and MONGO_URL in
./beanstalk/Dockerrun.aws.json
- Deploy Container AWS Dashboard (via AWS Elastic Beanstalk). Upload the
./beanstalk/Dockerrun.aws.json
- Clone repo
- Run
npm install
- Add TOKEN and MONGO_URL to the
.env
file, this is the discord bot token
TOKEN=Nzk2MjA2NzAxMTI3NjYzNjE2.X_UjRg.XXXXXXXXXXXXXXXXXXX
MONGO_URL=mongodb+srv://awesomecharacters_account:[email protected]/smash-drop?retryWrites=true&w=majority";
- Start VSCode debugger or run
npm run build
thennpm start
- Add the discord bot to your server with the following URL
https://discord.com/oauth2/authorize?client_id=805982500110204928&scope=bot
Replace the client ID with your discord developer portal app client id. - Interact with your Discord bot via your web browser