Commit Graph

84 Commits (a2df1d8fd58be96fcfd88954a6122a2ebd3c111e)

Author SHA1 Message Date
Trivernis 3155ffc188 Fix to MusicPlayer
- fix to playing boolean
6 years ago
Trivernis 86f3ef8c13 Fixes to music functions and commands 6 years ago
Trivernis d65616eadc Fixed and switched to ytdl-core-discord
- removed volume commands
- removed volume functions and properties from MusicPlayer
- fixed missing space on 'Next n Songs' on dashboard
- removed ytdl-core from package.json
6 years ago
Trivernis b8a0d124fe Removed additions to api 6 years ago
Trivernis ed1cb1a812 Major changes to command api
- changed return type of command parsing to response
- changed Response to extend the EventEmitter
- changed MusicPlayer to extend the EvenEmitter
- added continuos update to now playing if the message is the latest in the channel
- started redesigning the graphql api
6 years ago
Trivernis 3da2d098c4 Reverted changes to music lib
- reverted to youtube title information
6 years ago
Trivernis ec5ed87c49 Generic Database Connection
- you can now select one type of database either sqlite or postgres in the config.json (see README)
- fixed bugs in generic SQL Statements
- added generic database class
- changed all sql scripts to generic type
- added settings table to guild to manage settings of the guild
- added extended database class for the guild with predefined sql statements
- added music command volume to change the volume (role dj)
- added music command quality to change the musics quality (role owner)
6 years ago
Trivernis 1b08edd278 Bug Fixes, Utility Classes
- fixed bugs in `AniListApi`
- fixed typo in the music commands template
- added logging of uncaught promise rejections
- added generic SQL Statement classes
- updated README
6 years ago
Trivernis 016a3d042d Added lib/state
- added with `Event`, `EventGroup` and `EventRouter` for optimized event handling
- added special subclasses of EventGroup for Client Events
6 years ago
Trivernis 08d220b4c1 Updated AniListApi graphql path 6 years ago
Trivernis 540ab231db Changes to structure and fixes
- added folders for every lib
- moved lib files to folders and renamed them to `index.js`
- moved commands outside of lib
- moved graphql schema to web
- removed lib graphql folder
- added graphql folder to AniListApi folder
- fixed bug on ~skip and ~stop
- fixed bug on ExtendedRichEmbed
- fixed bug on RichCharacterInfo
6 years ago
Trivernis 2a2386e545 Added name changes to changelog 6 years ago
Trivernis 26e8355a54 Added Commands
- added commands `~changes` and `~versions` to query the changelog
6 years ago
Trivernis ab4e2de2cb Added Misc CommandModule
- added `~choose` to choose from options
- added `~delay` for an asynchronous delay in command sequences
- added `~say` for output in command sequences or just trolling around
6 years ago
Trivernis d61ae6332d Changes to modules
- added .template directory to lib/commands as a template for command modules
- changed names of `.yaml` files in command modules to `template.yaml`
- removed location variable from command modules
- added option to set a CommandModule property `_temlplateDir` to define the directory where the `template.yaml` file is saved in
6 years ago
Trivernis 2bb17e7e51 Critical Bugfixes 6 years ago
Trivernis 7d04e53e02 Fixed bug in AniList commands
- fixed character information voiced by not showing any names
6 years ago
Trivernis 5fdbe40c88 Bug Fixes
- fixed ExtendedRichEmbed bug for string.substring if the method doesn't exist on the value
- added log module information to webinterface logs
- changed logging meta module info from `m` to `module`
6 years ago
Trivernis 3ae7fbc6fa Fixed Style issues 6 years ago
Trivernis 5114228134 Added Music voting
- users that don't own the role dj or botcommander or botowner need to vote for skipping. The vote is passed if more or exactly 50% voted to skip
6 years ago
Trivernis ff9d78566b Implemented basic AniList api features
- changed anilist query files
- added autocropping to ExtendedRichEmbed
- updated Readme
6 years ago
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 6f890dacee Added ServerUtilityCommands module 6 years ago
Trivernis 4d7018d510 Restructuring and new Commands
- Added Server Utility Commands
- Removed lib/cmd
- Renamed lib/music
- renamed lib/weblib
- removed command parsing function from GuildHandler
- renamed DJ to MusicPlayer
- updated graphql schema and interface to new names
6 years ago
Trivernis 556c3a5e7f Added Servercommands
- added commands for music functionalities
6 years ago
Trivernis a425607a6b Changed CommandHandler
- registering commands no longer needs a name
- added info commands implementation
6 years ago
Trivernis c4f3635dd6 Started Reimplementing Commands
- reimplemented utils
- reimplemented info
6 years ago
Trivernis 08dcf2f084 Added 2 Anilist Commands 6 years ago
Trivernis 0223180053 Started restructuring command handling 6 years ago
Trivernis 42ee8cc4c5 Added Anilist Api
- moved graphql schemas and queries to lib/graphql
- added anilistApiLib that contains functions to access the anilist graphql api
- added graphql queries to lib/graphql to access data on anilist
- added global ~anime command that returns information to an anime
- modified help command so that it shows command categories for global and server commands
- moved global command registration to lib/cmd
6 years ago
Trivernis bb1d952d18 Fixes in code quality 6 years ago
Trivernis f2ef10bf08 Fixed a bug in lib/music 6 years ago
Trivernis 43e65e6949 Changed commands
- changed global command syntax to templates
- added ~about and ~bug
6 years ago
Trivernis 5444089261 Added Message Rate limits 6 years ago
Trivernis c2f3ae08a1 Fixed security problem
- excluded ~execute from saved sequences to avoid recursive calls
6 years ago
Trivernis 4921ee243c Added cmdsequence saving
- Sequences of commands can be saved with ~savecmd
- When saving the semicolon must be escaped by backslash
- saved commands can be listed with ~savedcmd
- saved commands can be executed with ~execute [name]
- renamed ~save to ~savemedia and ~saved to ~savedmedia
- added a command to delete saved entries
6 years ago
Trivernis dd2a49209f Added command listing
- improved asynchronous command feature
- added waterfall to resolve array answers
- added function and array type to answerMessage types
6 years ago
Trivernis 13493d8db5 Changes to lib/music
- changed the listener Checking to event based
- bot updates the VoiceChannel when moved to another one
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 7ad8fc7ff2 Replaced Promises with Async 6 years ago
codefactor-io 742848f36f [CodeFactor] Apply fixes 6 years ago
Trivernis d3e1106d70 Changes to Authentication
- changed to password encryption on client side
- modified login page
- renamed webapi to weblib
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 1d3ce93561 Modified Dashboard
- added Song timer
- added active VC count
- improved layout
- added querying for VC count to graphql
6 years ago
Trivernis 36b6416531 Bugfixes and features
- fixed player bug
- added duration to play view
- fixed queue view
- added queue count
6 years ago
Trivernis bfe29e0ef4 Dashboard modifications
- finished most functionalities of the dashboard
- fixed some bugs
6 years ago
Trivernis c46f34fd59 Changes to webservice
- added more query parameters
- started working on webinterface
- tokens for authentication
6 years ago
Trivernis 72794a2f63 Added Query entries
- changed id to type ID!
- changed id to md5 hash of base64 string of properties
- added discord Id
- added paging to arrays
- implemented guildHandler into Guild query type
- added saved to retrieve saved songs/playlists
- added ready indicator boolean
- added querying logs
- added presences array
- added config as String
- added prefix
6 years ago
Trivernis 275179b990 Added Graphiql
- added some discord objects (see schema for more info)
6 years ago