https://github.com/fusillicode/xddmod
My personal trusty Twitch little pet 🐀
https://github.com/fusillicode/xddmod
moderation moderation-bot open-source-saturday rust twitch twitch-api twitch-bot
Last synced: 9 months ago
JSON representation
My personal trusty Twitch little pet 🐀
- Host: GitHub
- URL: https://github.com/fusillicode/xddmod
- Owner: fusillicode
- Created: 2023-02-20T06:52:25.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-12-15T15:27:54.000Z (over 1 year ago)
- Last Synced: 2025-08-21T09:50:43.129Z (11 months ago)
- Topics: moderation, moderation-bot, open-source-saturday, rust, twitch, twitch-api, twitch-bot
- Language: Rust
- Homepage:
- Size: 383 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 21
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# xddmod
[](https://www.meetup.com/it-IT/Open-Source-Saturday-Milano/)
[](https://www.rust-lang.org/)
[](https://github.com/fusillicode/xddmod/commits/main)
[](https://github.com/fusillicode/xddmod/issues)
[](https://github.com/fusillicode/xddmod/issues?q=is%3Aissue+is%3Aclosed)

## Create .env
```
cp .local.env .env
```
## Setup local db
```
cargo sqlx db-reset --database-url sqlite://.db
```
## "Prepare" sqlx queries && seed db
```
cargo sqlx prepare --workspace --database-url sqlite://.db -- --tests && \
source .env && cargo run --bin dankcontent -- .db
```
## Import champions info in db
```
cargo run --bin xtask import-ddragon-champion
--ddragon-api-base-url http://ddragon.leagueoflegends.com/cdn//data/en_US
--db-url sqlite://.db
```
## Run xddmod
```
source .env && RUST_BACKTRACE=1 cargo run --bin xddmod --
```