A Discord bot for the Coder community server written in Dart
Codercord
A Discord bot for the Coder community server written in Dart.
How to run
-
Get the Dart SDK
-
Clone the repository
git clone git@github.com:coder/codercord.git cd codercord
-
Run the project
dart run
You can also pre-compile the binary instead of using
dart run
everytimedart compile exe bin/codercord.dart -o codercord ./codercord
Configuration
Environment variables :
CODERCORD_TOKEN
: The Discord bot’s tokenCODERCORD_TOML_PATH
: The path of the toml config file (default: config.toml) (relative to process working directory if no absolute path is provided)
Example config.toml
provided here