Commit Graph

76 Commits (2716f3ad9f1dc6c04b414a1bc166611cb36bd0e9)

Author SHA1 Message Date
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
trivernis e9c70bc754
Add stats command
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis b4e874ae07
Add logging with fern
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis ca1f9e7ecf
Add spotify url support for music
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis b6dd726c17
Reimplement queue and add guild settings
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis a6a603dbb5
Add music commands with songbird
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 6729a61190
Remove durability command and add item and enchantment command
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 56a939a244
Add minecraft durability command
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis f630161356
Add initial structure
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago