Commit Graph

99 Commits (bc3cdb0cfb83a2e1d366ebaafddc081522718ca1)

Author SHA1 Message Date
trivernis bc3cdb0cfb
Add auto deafen on voice channel join
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 0c06cdd7db
Add miko command
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 3aa831d6d1
Add fubuki command
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 6f58bd2fc1
Add rushia command
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis b9f9359ed7
Add korone command
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 4d67dce3cd
Rename gifs to media
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 32ba3d8bf0
Fix pause being ignored on skip
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 060f5dfb64
Add delete button to equalizer
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis ef6bb00b21
Add equalize command
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis df2f4786fd
Add equalizer command
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 4f250b5375
Fix database loaded songs not having a thumbnail
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis af4a83e9ed
Add error messages to unsuccessful plays
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 18cd1e7d28
Add autoleave and fix some bugs
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 e6d89289b7
Add clear command
Signed-off-by: trivernis <trivernis@protonmail.com>
3 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>
3 years ago
trivernis d81b815a12
Remove thumbnails from now playing message in nsfw channels
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 8209c31469
Add more information to mc item command
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 9cc9b720e2
Fix song database lookup being slow with spotify playlists
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 50c457ac2e
Fix now playing message not being updated
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 43f61d51f2
Add creation of now playing message to play commmand
The message can also be deleted with the delete button.

Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis bb153a10a5
Add help display for menus
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 3ff8371680
Change command usage descriptions to be docopt compatible
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 274804ed8c
Change DJ role check to be a serenity check
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis e39fc35c05
Add ephemeral message table and delete them on startup
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis c0fce89a33
Add hashtag filter to song name cleaning regex
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 017f1e8f46
Change cleaing of song names for spotify search
Now the regex is applied before all nonalphanumeric chars are deleted.
Additionally everything in square brackets will be deleted.

Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 0300966e56
Fix unavailable stored videos causing songs not to be played
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 49f4673213
Add aliases to qalc command
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis b87b1770fc
Add autosharding
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 786925d8e4
Switch to stable toolchain and add more info to stats command
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 8d6ed995e0
Improve error handling with forward_error macro
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis bbf9f1ef93
Add ephemeral message and use it for most music command answers
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis eede854ad4
Fix skipping causing songs to unpause
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 619d8aa30b
Add pain command
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 80289e5590
Add remove_song command
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 a98f401fbe
Change queue command to accept query and display an embed
The queue command now displays an embed with pagination and
allows for songs to be queried by providing arguments. Each argument
is interpreted as a keyword that is searched for.

Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 80dfe4af07
Add number of times used to stats command
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis a2d2d5d930
Add statistics table to database to store command statistics
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 29e670da66
Add hint about play command to now playing dialog
Signed-off-by: trivernis <trivernis@protonmail.com>
3 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>
3 years ago
trivernis 1bbbdc29f6
Move sauce and pekofy command to weeb group
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 8ed7cf90b3
Change to require dj permission for join with channel id
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 87cfba1bc8
Change menu pages to be wrapped in page type
The pages of a menu are now wrapped in an enum that contains either
a builder function or a static CreateMessage. The builder function
is used for the now playing message to always return the currently
playing song instead of mapping a static song. This solves the problem
that the old page is being rendered when the page is recreated because
of being sticky.

Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis 411dd83240
Add controls to now playing message and fix sticky menu
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago