Skip to content

Conversation

@leamikmik
Copy link

Saw your project when looking for subsonic discord bots and decided to add more features / some changes. I haven't developed a discord bot in a while so any criticism is welcome. I might add more stuff in the future but this much changes felt enough for a bit.

Changed features

  • Changed/added commands: shuffle, loop, leave, playlist, play, clear, queue
    • shuffle: shuffles queue using sample()
    • loop: loops either queue or current song
    • leave: disconnects bot
    • playlist: searches and plays playlist
    • play: command autocomplete for searching songs/albums, removed what parameter, more info when adding albums
    • clear: clears queue
    • queue: displays more info + pagination
  • added activity "Listening to music"
  • made bot clear queue upon connecting
  • more song info everywhere

Class changes

  • made queue be Last in, First out
  • added function seconds_to_str to class Base, which converts given int to h:mm:ss or mm:ss
  • added values artist and duration to Song class
  • added functions shuffle, duration and clear to class Queue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant