├── .dockerignore ├── .github └── workflows │ └── ci.yml ├── .gitignore ├── COMMANDS.md ├── Cargo.lock ├── Cargo.toml ├── Dockerfile ├── GETTING_STARTED.md ├── LICENSE.TXT ├── README.md ├── diesel.toml ├── migrations ├── .gitkeep ├── 00000000000000_diesel_initial_setup │ ├── down.sql │ └── up.sql ├── 2019-05-27-225104_tags │ ├── down.sql │ └── up.sql ├── 2019-08-19-210929_roles │ ├── down.sql │ └── up.sql ├── 2019-08-19-211002_messages │ ├── down.sql │ └── up.sql ├── 2019-08-22-231258_users │ ├── down.sql │ └── up.sql └── 2020-08-25-224210_bans │ ├── down.sql │ └── up.sql ├── postgres-docker └── Dockerfile └── src ├── api.rs ├── ban.rs ├── command_history.rs ├── commands.rs ├── crates.rs ├── db.rs ├── jobs.rs ├── main.rs ├── playground.rs ├── schema.rs ├── state_machine.rs ├── tags.rs ├── text.rs └── welcome.rs /.dockerignore: -------------------------------------------------------------------------------- 1 | /target 2 | -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/technetos/discord-mods-bot/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | **/*.rs.bk 3 | -------------------------------------------------------------------------------- /COMMANDS.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/technetos/discord-mods-bot/HEAD/COMMANDS.md -------------------------------------------------------------------------------- /Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/technetos/discord-mods-bot/HEAD/Cargo.lock -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/technetos/discord-mods-bot/HEAD/Cargo.toml -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/technetos/discord-mods-bot/HEAD/Dockerfile -------------------------------------------------------------------------------- /GETTING_STARTED.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/technetos/discord-mods-bot/HEAD/GETTING_STARTED.md -------------------------------------------------------------------------------- /LICENSE.TXT: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/technetos/discord-mods-bot/HEAD/LICENSE.TXT -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/technetos/discord-mods-bot/HEAD/README.md -------------------------------------------------------------------------------- /diesel.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/technetos/discord-mods-bot/HEAD/diesel.toml -------------------------------------------------------------------------------- /migrations/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /migrations/00000000000000_diesel_initial_setup/down.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/technetos/discord-mods-bot/HEAD/migrations/00000000000000_diesel_initial_setup/down.sql -------------------------------------------------------------------------------- /migrations/00000000000000_diesel_initial_setup/up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/technetos/discord-mods-bot/HEAD/migrations/00000000000000_diesel_initial_setup/up.sql -------------------------------------------------------------------------------- /migrations/2019-05-27-225104_tags/down.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE tags; 2 | -------------------------------------------------------------------------------- /migrations/2019-05-27-225104_tags/up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/technetos/discord-mods-bot/HEAD/migrations/2019-05-27-225104_tags/up.sql -------------------------------------------------------------------------------- /migrations/2019-08-19-210929_roles/down.sql: -------------------------------------------------------------------------------- 1 | -- This file should undo anything in `up.sql` 2 | DROP TABLE roles; 3 | -------------------------------------------------------------------------------- /migrations/2019-08-19-210929_roles/up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/technetos/discord-mods-bot/HEAD/migrations/2019-08-19-210929_roles/up.sql -------------------------------------------------------------------------------- /migrations/2019-08-19-211002_messages/down.sql: -------------------------------------------------------------------------------- 1 | -- This file should undo anything in `up.sql` 2 | DROP TABLE messages; 3 | -------------------------------------------------------------------------------- /migrations/2019-08-19-211002_messages/up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/technetos/discord-mods-bot/HEAD/migrations/2019-08-19-211002_messages/up.sql -------------------------------------------------------------------------------- /migrations/2019-08-22-231258_users/down.sql: -------------------------------------------------------------------------------- 1 | -- This file should undo anything in `up.sql` 2 | drop table users; 3 | -------------------------------------------------------------------------------- /migrations/2019-08-22-231258_users/up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/technetos/discord-mods-bot/HEAD/migrations/2019-08-22-231258_users/up.sql -------------------------------------------------------------------------------- /migrations/2020-08-25-224210_bans/down.sql: -------------------------------------------------------------------------------- 1 | -- This file should undo anything in `up.sql` 2 | DROP TABLE IF EXISTS bans; 3 | -------------------------------------------------------------------------------- /migrations/2020-08-25-224210_bans/up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/technetos/discord-mods-bot/HEAD/migrations/2020-08-25-224210_bans/up.sql -------------------------------------------------------------------------------- /postgres-docker/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/technetos/discord-mods-bot/HEAD/postgres-docker/Dockerfile -------------------------------------------------------------------------------- /src/api.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/technetos/discord-mods-bot/HEAD/src/api.rs -------------------------------------------------------------------------------- /src/ban.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/technetos/discord-mods-bot/HEAD/src/ban.rs -------------------------------------------------------------------------------- /src/command_history.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/technetos/discord-mods-bot/HEAD/src/command_history.rs -------------------------------------------------------------------------------- /src/commands.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/technetos/discord-mods-bot/HEAD/src/commands.rs -------------------------------------------------------------------------------- /src/crates.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/technetos/discord-mods-bot/HEAD/src/crates.rs -------------------------------------------------------------------------------- /src/db.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/technetos/discord-mods-bot/HEAD/src/db.rs -------------------------------------------------------------------------------- /src/jobs.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/technetos/discord-mods-bot/HEAD/src/jobs.rs -------------------------------------------------------------------------------- /src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/technetos/discord-mods-bot/HEAD/src/main.rs -------------------------------------------------------------------------------- /src/playground.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/technetos/discord-mods-bot/HEAD/src/playground.rs -------------------------------------------------------------------------------- /src/schema.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/technetos/discord-mods-bot/HEAD/src/schema.rs -------------------------------------------------------------------------------- /src/state_machine.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/technetos/discord-mods-bot/HEAD/src/state_machine.rs -------------------------------------------------------------------------------- /src/tags.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/technetos/discord-mods-bot/HEAD/src/tags.rs -------------------------------------------------------------------------------- /src/text.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/technetos/discord-mods-bot/HEAD/src/text.rs -------------------------------------------------------------------------------- /src/welcome.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/technetos/discord-mods-bot/HEAD/src/welcome.rs --------------------------------------------------------------------------------