2024-12-07 12:07:24 +00:00
|
|
|
# Discord bot made in rust
|
|
|
|
|
|
|
|
## Current feature list:
|
|
|
|
- move message from one channel to another
|
|
|
|
- send hug and headpat embed and tag user in it
|
|
|
|
- announces events and birthdays that are in database
|
|
|
|
|
|
|
|
## Technologies used
|
|
|
|
- Discord API - serenity, poise
|
|
|
|
- Database - sqlite
|
|
|
|
- gifs - my partial implementation of tenor API
|
|
|
|
|
|
|
|
## Compilation
|
|
|
|
Make sure you have cargo installed!
|
|
|
|
Edit .env.example and rename to .env
|
|
|
|
|
2024-12-31 11:49:53 +00:00
|
|
|
Check if you have openssl (libssl-dev Ubuntu, openssl-devel Fedora)
|
|
|
|
audiopus_sys requires cmake
|
|
|
|
|
2024-12-07 12:07:24 +00:00
|
|
|
Compile debug version
|
|
|
|
```
|
|
|
|
make dev
|
|
|
|
```
|
|
|
|
|
|
|
|
Compile release version
|
|
|
|
```
|
|
|
|
make release
|
|
|
|
```
|
|
|
|
|
|
|
|
Compile debug version and run it
|
|
|
|
```
|
|
|
|
make run
|
|
|
|
```
|
|
|
|
|
|
|
|
Run release version
|
|
|
|
```
|
|
|
|
make run_rel
|
|
|
|
```
|