Commit Graph

20 Commits (118832036ef47a00fb6e5298b5c66e37bcb67513)

Author SHA1 Message Date
trivernis 118832036e
Remove lavalink dependencies and update to new serenity 2 years ago
trivernis 2ffdd1c9f9
Replace log with tracing
Signed-off-by: trivernis <trivernis@protonmail.com>
2 years ago
trivernis 4f250b5375
Fix database loaded songs not having a thumbnail
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis b2ba31a9e9
Reimplement all music related functionality in MusicPlayer struct
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 6876a1bb1a
Change music backend to lavalink
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 6f4d9df4b7
Switch to youtube-metadata for basic video information fetching
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 658bc7fdc5
Add feedback button and improve song results
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 9931e75d8f
Add automatically adding youtube songs to store
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis bba12ff763
Add move_song command
Signed-off-by: trivernis <trivernis@protonmail.com>
3 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>
3 years ago
trivernis bf29b51092
Change music NowPlaying embed to be created as a menu
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 4d290a5091
Bump version and cleanup code
Signed-off-by: trivernis <trivernis@protonmail.com>
3 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>
3 years ago
trivernis 9d4ed2dfb5
Add qalc command and improve README
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis f36cf5a477
Change now playing to update automatically
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 5ab22fd343
Add feature to automatically leave when the voicechannel is empty
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 6c9df7e044
Add shutdown and pause command
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis b4e874ae07
Add logging with fern
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 288675c2ea
Change song fetching to be lazy
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis b6dd726c17
Reimplement queue and add guild settings
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago