Commit Graph

5 Commits (38fdece6c3b7b3b6a9b3cbe08a4ea7950c4e3c35)

Author SHA1 Message Date
Trivernis 38fdece6c3 Code Cleanup 6 years ago
Trivernis 17e0883928 Updated jsdoc 6 years ago
Trivernis 63981f2a90 TODO update 6 years ago
Trivernis c884211150 Added Data function
- DataHandler handles Data (wow)
- save to save playlist (server specific)
- saved to get saved playlist
- play with saved name plays the saved playlist
- data is stored in data folder
 - every server has a subfolder
 - entry file to manage all files that should be accessable
- fixed bug where music doesn't play when play was invoked
 -  if this bug appeares again, the skip command could fix it (because it creates a dispatcher if none exists)
6 years ago
Trivernis e16965c86f Added supporting classes
- added class GuildHandler -> use this for commands that sould be run on a server
- added class Servant -> handles commands, used by GuildHandler
- added connected getter to DJ
- changed from checking for Connection to checking if connected
- added possibility to assign a VoiceChannel at connecting
- commands now contain the prefix instead of being a child element of it
- added passing additional arguments as third parameter of the command callback
- removed complex command parsing function, rewrote it with better pattern matching
- removed music commands from bot.js and moved them to GuildHandler class
- changed from cmd.createCommand to createGlobalCommand
6 years ago