Website • Discord • Releases • Donate • Documentation
- Discord bot for the dahliaOS server
- Written in Dart using the nyxx lib
- Make sure you have Dart SDK installed
- Clone the repo
git clone https://github.com/dahliaOS/bot.git
- Create a bot and obtain the token, read this guide
- Create a GitHub Personal Access Token, read this guide
- This is optional and it's used for the GitHub command, if you don't want to insert your GitHub PAT and username, just leave it out, the only difference is that your API calls will be limited to 60 per hour.
- Find your GitHub username
- Open your GitHub profile
- The link in your browser's address bar should be: https://github.com/YOUR_USERNAME_HERE
- Insert your GitHub PAT, GitHub username and the bot token
- Create a .env file in the root folder
- Fill it in as shown below:
TOKEN='your bot token goes here' GITHUB_TOKEN='your github token goes here' GITHUB_USERNAME='your github username goes here'
- CD into the dir
cd bot
- Get dependencies
dart pub get
- Run
dart run bin/main.dart
If you're wondering how to contribute to the project, please refer to CONTRIBUTING.md
Copyright @ 2019-2022 - The dahliaOS Authors - contact@dahliaos.io
This project is licensed under the Apache 2.0 license