A simple Discord bot for book club.
- If you haven't already, install git, Node.js, npm, and g++ (GCC with C++ support) using your preferred package and/or version manager(s)
- Follow a tutorial ilke this one to create a Discord "application" and a corresponding bot, generate a secret token for it (used below), and add it to your server
git clone https://github.com/Brinsky/librarian-bot
cd librarian-bot
cp data/config-sample.json data/config.json
- Edit
data/config.json
and set thetoken
property to your bot's token npm install
npx tsc
(compile the TypeScript source code)- Start the server:
node build/index.js