Virtual die for Discord
- Node (v20)
- npm
- Install dependencies:
> npm install
- Create a Discord bot by following the official guide
- Export your bot's token:
# Linux & MAC
> export DISCORD_TOKEN="YOUR_BOT_TOKEN_HERE"
# Windows (CMD)
> set DISCORD_TOKEN="YOUR_BOT_TOKEN_HERE"
# Windows (PowerShell)
> $env:DISCORD_TOKEN="YOUR_BOT_TOKEN_HERE"
- Run the application:
> npm start
- Invite the bot to your server. See the official guide
!help
: See commands help!info
: See bot info!XdY
: Roll X dice of Y faces