Commit Graph

77 Commits (a712f41a55ef223b8be3cf12d69cbe07bb0e6426)
 

Author SHA1 Message Date
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 bab7ddb538 Changes to the music function
- Songname is retrieved before playing
- for playlists the first songname is retrieved before playing, the others are retrieved in the background
- ~np now responses with Rich Embeds
6 years ago
Trivernis 657c08ac96
Merge pull request #22 from Trivernis/renovate/node-10.x
Update Node.js to v10.15 (CircleCI Docker Image)
6 years ago
Renovate Bot 3b74297fbb
Update Node.js to v10.15 6 years ago
Trivernis 2f70d9cf8c
Merge pull request #21 from Trivernis/develop
Develop
6 years ago
Julius Riegel e5fc4b306e Added CircleCi and Codefactor Badge to Readme 6 years ago
Trivernis 693a399f58
Merge pull request #20 from Trivernis/test-configuration-2
Additional testscripts
6 years ago
Julius Riegel 09f99327da Adding additional dependency installation task 6 years ago
Julius Riegel 66de9764bd Added lib/guilding testscript 6 years ago
Julius Riegel fc6cbd336e Added cmdTest script
- testing lib/cmd
6 years ago
Julius Riegel 48dda0782e Revert changes to config.yml 6 years ago
Julius Riegel 2ed844da1d Changes to config.yml
- seperate build and test tasks
6 years ago
Julius Riegel f9cd4db4e1 More verbose test logging 6 years ago
Trivernis fd634b9556
Merge pull request #19 from Trivernis/test-configuration
Updates to test configuration
6 years ago
Julius Riegel 1c8da414fc Auto-Exit of musicTest
- exiting after last command was invoked
6 years ago
Julius Riegel 33c1c0e323 Changes to circleci config 6 years ago
Julius Riegel 1db9ec2083 Changes to lib/music for CI
- changed RegularExpression that resulted in failure
6 years ago
Julius Riegel abd3ccb4c6 Changed musicTest configuration 6 years ago
Trivernis 2e9d58983f Changes to test tasks
- automatically creates config file
6 years ago
Trivernis 1797ed3fd7 Changes to test configuration
- changed directory name for test files in configuration
6 years ago
Trivernis fbea478d47 Revert "Changes to test configuration"
This reverts commit c4b25987e0.
6 years ago
Trivernis c4b25987e0 Changes to test configuration
- changed relative path to file in circleci configuration
6 years ago
Trivernis bcfbada46c TestScripts 1
- added circleci configuration
- added mockobjects for testing without the discord api
- added a testscript for the music library
6 years ago
Trivernis 0729c9b31c Command Promises
- Command functions are allowed to return promises
- resolve and reject both are the answer the bot will send
- Implemented promises for things that couldn't use them before
6 years ago
Trivernis ee96094473 Rich Embed for help command 6 years ago
Trivernis a340a7e1ea
Merge pull request #18 from Trivernis/develop
Develop
6 years ago
Trivernis 443570f8d6 Fixes and Features
- fixed guilds first command problem
- switched from markdown to rich embed for displaying saved songs/playlists
6 years ago
Trivernis 84b27b9f8a Fix crash
- Fixing crashing on WebSocket error
6 years ago
Trivernis 79b104a35e
Merge pull request #17 from Trivernis/develop
Develop
6 years ago
Trivernis 37207265fc
Merge pull request #15 from Trivernis/renovate/winston-daily-rotate-file-3.x
Update dependency winston-daily-rotate-file to v3.6.0
6 years ago
Trivernis 5ab7d32f15
Merge pull request #16 from Trivernis/renovate/ytdl-core-0.x
Update dependency ytdl-core to v0.29.1
6 years ago
Trivernis 6ec90997aa
Merge pull request #14 from Trivernis/renovate/pin-dependencies
Pin dependency sqlite3 to 4.0.6
6 years ago
Renovate Bot 74d3990a63
Update dependency ytdl-core to v0.29.1 6 years ago
Renovate Bot e360e5a15b
Update dependency winston-daily-rotate-file to v3.6.0 6 years ago
Renovate Bot 2485c35217
Pin dependency sqlite3 to 4.0.6 6 years ago
Trivernis 149e73621f Minor music performance changes 6 years ago
Trivernis 61ae3937d9
Merge pull request #13 from Trivernis/develop
Develop
6 years ago
Trivernis e4e26cd51f Integration of SQLite
- Instead of storing data in files, the bot stores data in database-files (wow)
- Why? Because Databases are best
6 years ago
Trivernis b0ca631fb8 Fixed Role-Permission Bug
- Fixed bug where role-permission did not work (except for the bot-owner commands)
6 years ago
Trivernis 0c95a5ef26
Merge pull request #12 from Trivernis/develop
Develop
6 years ago
Trivernis c29c578f92 Fixed role bug
- now roles should work again from the templates
6 years ago
Trivernis 2b6ea2123f New command syntax
- creating commands requires a command template that is stored in the commands folder in a json file
- command templates manage permissions, arguments, responses and the command name
- added config file -> needs to be created, template coming soon
6 years ago
Trivernis 131e0d6795
Merge pull request #11 from Trivernis/develop
Version 0.9.1
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
Trivernis 38fdece6c3 Code Cleanup 6 years ago
Trivernis 17e0883928 Updated jsdoc 6 years ago
Trivernis 63981f2a90 TODO update 6 years ago
Trivernis d85354744c
Merge pull request #10 from Trivernis/develop
Removed embedded YTAPI-Key
6 years ago