1.1 KiB
1.1 KiB
Discord Bot Template
Discord Bot Template for Another Child Spring server
Requirement
How to install
- Clone the repo
- Copy the
config.exemple.tomland rename itconfig.toml - Launch the docker container with
make startordocker-compose up -d - Go into the docker container with
make shellordocker-compose exec discord-bot bash - Install the dependencies:
yarn install - Compile typescript and run the bot with
yarn dev
Notes
- Configuration file format is TOML. It is a minimal configuration file format that's easy to read due to obvious semantics. TOML is designed to map unambiguously to a hash table. TOML should be easy to parse into data structures in a wide variety of languages. Read
src/config.tsto see all possibilities.
Contributions/License
This project has an AGPLv3 license. This project use the Sheweny framework with discord.js underlying and BinaryMuse/toml-node for configuration parsing.