Giter VIP home page Giter VIP logo

bot's Introduction

WebsiteDiscordReleasesDonateDocumentation

dahliaOS Discord bot

Discord License

  • Discord bot for the dahliaOS server
  • Written in Dart using the nyxx lib

Running the bot

  1. Make sure you have Dart SDK installed
  2. Clone the repo
    git clone https://github.com/dahliaOS/bot.git
    
  3. Create a bot and obtain the token, read this guide
  4. 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.
  5. Find your GitHub username
  6. Insert your GitHub PAT, GitHub username and the bot token
    1. Create a .env file in the root folder
    2. 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'
    
  7. CD into the dir
    cd bot
    
  8. Get dependencies
    dart pub get
    
  9. Run
    dart run bin/main.dart
    

Contribute

If you're wondering how to contribute to the project, please refer to CONTRIBUTING.md

License

Copyright @ 2019-2022 - The dahliaOS Authors - [email protected]

This project is licensed under the Apache 2.0 license

bot's People

Contributors

hrx03 avatar larsb24 avatar quintenvandamme avatar sincerelyfaust avatar thewickedkarma avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.