Commit Graph

5 Commits (a75ac75dba2e05716bf74a99493fab6658aa90e5)

Author SHA1 Message Date
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 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 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 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