Commit Graph

15 Commits (e52197ce17aa4d5f68bfc22ef386b28b5dd468b6)

Author SHA1 Message Date
Trivernis e74fa83ed3 Added Unit Tests & Logging
- Added own logger class that includes the module name
- added unit tests for MessageHandler, Command and Answer
- removed unit tests for GuildHandler and lib/cmd
- removed old command templates
6 years ago
Trivernis c4f3635dd6 Started Reimplementing Commands
- reimplemented utils
- reimplemented info
6 years ago
Trivernis 2a2f4abe66 Modifications
- replaced most promises with async/await
- added sqlite3 session storage
- restyled login page
- added session requirement to graphql
- deactivated incompatible
- modified mockobjects
- added fs-extra for async file operations
6 years ago
Trivernis c0efaf2e80 Bugfixes and login system
**WARNING:** This login system is not safe because it transfers your password in plain text. Please wait for the next release.

- added https options
- added user password system
- added paused/playing to dashboard
- bugfixes to music playnext function
- Code Reformatting
6 years ago
Trivernis f8a765799e Bug fix
- getSplitDuration now returns the correct time
6 years ago
Trivernis c46f34fd59 Changes to webservice
- added more query parameters
- started working on webinterface
- tokens for authentication
6 years ago
Trivernis f1abc3b9b4 Structural changes
- removed data.js
- added Bot class to bot.js
- moved handling guildhandlers to bot class
- moved shuffleArray from music to utils
- cleanup
6 years ago
Trivernis e27b46ac6a Added Rich Embeds
- rich embed for `queue`
- rich embed for `uptime`
6 years ago
Trivernis 5d90ff6830 Changed presences storage
- moved presences to main.db
- added detailed description to README
6 years ago
Trivernis 990628244e Added Tests
- added tests for the dj class
- moved to rewire for mocking
6 years ago
Trivernis d5d5c12126 Restructured Tests
- removed previous testfiles
- added test.js where all tests are stored
- added tests for lib/utils
- added standard test config
- added test config to devDependencies in package.json
- reconfigured circleci configuration
6 years ago
Trivernis a712f41a55 Changes to Config Syntax
- moved the discord token and youtube api key to ` api.botToken`  and `api.youTubeApiKey` in the `config.json` file
- added `lib.utils.ConfigChecker` class to check for missing required attributes in the config
- Updated README to new circumstances
6 years ago
Trivernis 5845144a83 Fixes and Cleanup
- allowing Promises for global command reply returns
- event callback regristration wrapped in main function
- stored reply for not playing music (`~np`) in servercommands.json
- made imports constant for lib/cmd
- moved YouTube url operations to lib/utils
- removed try catch surrounding promises in play and playnext callback and added .catch to promises
- added .catch to promises in music.js
- added license README badge
6 years ago
Trivernis 98b809ba66 Code Reformatting 6 years ago
Trivernis 2400429b72 New functionalities
- added presence rotation
- added command permission
- added owner commands
- updated README
6 years ago