Skip to content

Ninjdai1/Xatu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Xatu

A Discord bot that fullfills your thirst for github statistics.

Features

  • Issue Statistics: Statistics about open and closed issues.
  • Pull Request Statistics: Statistics about open and closed pull requests.

WIP

  • Various Discord commands: Show graphes and more detailed statistics

Installation

Prerequisites

  • Rust stable or nightly

Steps

  1. Clone the repository:

    git clone https://github.com/Ninjdai1/xatu.git
    cd xatu
  2. Build:

    cargo build --release
  3. Set up environment variables: Create a .env file in the root directory of the project and add the following variables:

    DISCORD_TOKEN="your_discord_bot_token" # Self-explanatory
    GITHUB_TOKEN="your_github_token" # A Github Personal Acce ss Token (PAT), to make authenticated requests to the Github API (thus increasing rate limits)
    GIST_ID="gist_id" # Optional, requires a PAT with the gists permission
  4. Start the bot:

    ./target/release/xatu

License

This project is licensed under the GPLv3 License. See LICENSE.

Contact

For any questions or support, please open an issue or contact me on Discord (@ninjdai).

Acknowledgments

Uses the following Rust crates:

  • chrono
  • octocrab
  • serenity
  • tokio
  • tokio-cron-scheduler
  • rusqlite
  • secrecy
  • dotenvy

Made with ❤️ by Ninjdai

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages