Discord bot to help playing TTRPGs without a VTT.
- Create a
.env
file - Go to Discord Developers Portal and create a New Application
- Set it up with permissions to "Send Messages" and "Attach Files"
- Under OAth2 generate a "Client ID" and "Client Secret"
- In
.env
file add "Client ID" underDISCORD_CLIENT_ID
, and "Client Secret"DISCORD_TOKEN
. e.g.:DISCORD_CLIENT_ID=xxx DISCORD_TOKEN=yyy
- Create a
cards
directory - Create a subdirectory for each game
- Under each, create a subdirectory for each card type
- In each of those, place images (PNG)
- Invite your bot to your Discord server via
https://discord.com/api/oauth2/authorize?client_id=YOUR_DISCORD_CLIENT_ID_HERE&permissions=34816&scope=bot%20applications.commands
(replacingYOUR_DISCORD_CLIENT_ID_HERE
of course)