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

  1. Get the Dart SDK

  2. Clone the repository

    git clone git@github.com:coder/codercord.git
    cd codercord
  3. Run the project

    dart run

    You can also pre-compile the binary instead of using dart run everytime

    dart compile exe bin/codercord.dart -o codercord
    ./codercord

Configuration

Environment variables :

  • CODERCORD_TOKEN : The Discord bot’s token
  • CODERCORD_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

GitHub

View Github