Commit Graph

58 Commits (4cbb742b6f34b6130a6a7a003082978f917552fe)

Author SHA1 Message Date
trivernis 4cbb742b6f
Update xkcd-search
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 84dd3174e7
Add xkcd command
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis d6fb52daf2
Change interactions registration to simpler trait based function
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 3d3568a5ea
Move bot_serenityutils to separate crate
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis bc3cdb0cfb
Add auto deafen on voice channel join
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 47974d0d04
Bump version
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 4d67dce3cd
Rename gifs to media
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis df2f4786fd
Add equalizer command
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 54672644a8
Bump version
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 6876a1bb1a
Change music backend to lavalink
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 4b5d222f55
Bump version
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis c193298060
Bump version
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 719e3e4c25
Update dependencies
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 8209c31469
Add more information to mc item command
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 6f4d9df4b7
Switch to youtube-metadata for basic video information fetching
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 8e3ae44e32
Bump version
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis be4e3cf02e
Bump versions
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis bb153a10a5
Add help display for menus
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis fc1366668f
Bump version
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 0ce8587f2f
Bump version
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 26cc07abec
Bump version
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 9931e75d8f
Add automatically adding youtube songs to store
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis a733e6a2ac
Bump version
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 8e71317d51
Bump version
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis bbf9f1ef93
Add ephemeral message and use it for most music command answers
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis abd170521d
Bump version
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 0f47c5b942
Bump version
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 8ed7cf90b3
Change to require dj permission for join with channel id
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis c6b80f8abd
Add sticky option to menus
Menus can now be created as sticky menus. When new messages appear
in the channel, the sticky message will be resent to be the latest
one in the channel. It only get's recreated every ten seconds max
to avoid getting ratelimited.
To work with recreatable menus, the message handle returned by
the menu is now wrapped into an Arc<RwLock<>>.

Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis bcd1a96c1b
Bump version
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis dc8a84c51e
Implement custom embed menu in subcrate
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 4d290a5091
Bump version and cleanup code
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis fd13f7ae64
Reimplement shuffle for VecDeque in coreutils
Introduced the new trait Shuffle that is implemented for
VecDeque and shuffles it. Previously the VecDeque
was shuffled with a function provided in the main utils module.

Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 0bbbf3594f
Reimplement is_image and is_video in coreutils
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 0c2c62e157
Add subcrate bot-coreutils
Add subcrate bot-coreutils to move some utilities that don't
depend too heavily on other crates and require heavy testing
there.

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
trivernis 255e11833b
Add about command and bump version
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis c9fcae05db
Add sauce command
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis e4a8334b63
Add timeout to qalc command
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis e11ff3f72f
Add optional code argument to shutdown command
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis a7045ebe5a
Add version information to stats command
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 9d4ed2dfb5
Add qalc command and improve README
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 2d980111bc
Change database operations to be async
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 7005fa7317
Add time and timezone command
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 750ee7d0dc
Add lyrics command and format playlists list differently
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 6d75b840b4
Switch to diesel with postgres for the database
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago