Go to file
DataHearth e0b19f8eb4
Rust / Run tests (push) Successful in 1m22s Details
Docker / Build and push Docker image (push) Successful in 8m48s Details
migrate github actions to gitea
2023-06-30 11:36:36 +02:00
.gitea/workflows migrate github actions to gitea 2023-06-30 11:36:36 +02:00
src use find_one for auth search 2023-06-23 14:57:00 +02:00
.dockerignore add container image 2023-06-23 17:01:33 +02:00
.gitignore update commands 2023-05-20 20:25:32 +02:00
Cargo.lock use latest version of polodb 2023-06-23 15:19:57 +02:00
Cargo.toml use latest version of polodb 2023-06-23 15:19:57 +02:00
Dockerfile add container image 2023-06-23 17:01:33 +02:00
LICENSE set license 2023-05-24 09:59:05 +02:00
README.md add readme 2023-06-26 18:08:02 +02:00

README.md

tech-bot

Description

Save technologies you want to share/remember in a simple way inside Discord.

How to use

Install

Docker

export DISCORD_TOKEN=TOKEN
export ADMIN_USERS=123456789,987654321

docker run -d \
  --name tech-bot \
  -e DISCORD_TOKEN=$DISCORD_TOKEN \
  -e ADMIN_USERS=$ADMIN_USERS \
  -v /path/to/tech-bot/data:/data \
  --restart unless-stopped \
  gitea.antoine-langlois.net/datahearth/tech-bot

Manually

export DISCORD_TOKEN=TOKEN
export ADMIN_USERS=123456789,987654321
export DB_PATH=database.db

git clone https://gitea.antoine-langlois.net/datahearth/tech-bot.git
cd tech-bot

cargo build --release
./target/release/tech-bot

Usage

/tech help
/tech add <Technology name> <Technology link> <OPTIONAL: Technology tags (comma separated)>
/tech list
/tech search <Technology name> <OPTIONAL: Regex> <OPTIONAL: Technology tags (comma separated)>
/tech remove <tech-name>