First iteration
-
Start up project
nvm use
pnpm install
-
Create and complete .env
cp .env.example .env
NOTE: data to complete this is in step 3
-
Create and add bot to server
-
Go to Discord Developers Dashboard and create new app.
-
Invite yout bot to your server with that link, remplace DISCORD_APP_ID (Is the same of .env):
https://discord.com/oauth2/authorize?client_id=DISCORD_APP_ID&permissions=328565197888&scope=bot+applications.commands
-
-
Deploy commands
node src/deployCommands.js
NOTE: if you edit or create new commands in
src/commands/utility
need excecute again this command before run bot. -
Run bot
pnpm dev
- Create thread for the game
- Handle messages from LNBits-bot
- Watch blockchain
- Implement halving massacre algorithm
- User database
- Beautifully code