Commit Graph

11 Commits (a75deebba0ae56af784489a3795e76339c86102a)

Author SHA1 Message Date
trivernis 4d67dce3cd
Rename gifs to media
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
Trivernis a4d58d33f6
Docker integration (#23)
* Add Dockerfile

Signed-off-by: trivernis <trivernis@protonmail.com>

* Fix docker build

Signed-off-by: trivernis <trivernis@protonmail.com>

* Remove build-essential package from runtime container

Signed-off-by: trivernis <trivernis@protonmail.com>

* Swap postgresql-client for libpq5 in docker build

Signed-off-by: trivernis <trivernis@protonmail.com>

* Add docker action

Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis e39fc35c05
Add ephemeral message table and delete them on startup
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 0300966e56
Fix unavailable stored videos causing songs not to be played
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis c8ab28e4e4
Add database to store spotify-youtube mappings
When playing a single youtube song the equivalent song will be
searched on spotify and stored in the database. The assumption
is that a user prefers studio versions of songs from youtube
which are harder to search for automatically.

Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 786925d8e4
Switch to stable toolchain and add more info to stats command
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis cfbd68a7c2
Change structure of database module
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 80dfe4af07
Add number of times used to stats command
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis a2d2d5d930
Add statistics table to database to store command statistics
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis a67fecc210
Add gifs table and matsuri, add_gif and gifs command
Added a gif table to store gifs with optional category and name
as. The command add_gif (owner only) can be used to add a gif to
the database. The command gifs can be used to see all the gifs
stored in the database. The gifs are being used by the pekofy and
matsuri command.

Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis d54361deca
Change submodule name database to bot-databas for new naming scheme
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago