Commit Graph

86 Commits (master)

Author SHA1 Message Date
Trivernis 2e993c3688 Music fix... again
- fixed not playing the next song
5 years ago
Trivernis 35107dafbc Database and music fix
- swiched back to ytdl-core for youtube playback
- fixed music skip being stuck sometimes
- removed database release call on pooled client
5 years ago
Trivernis 3155ffc188 Fix to MusicPlayer
- fix to playing boolean
5 years ago
Trivernis 86f3ef8c13 Fixes to music functions and commands 5 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
5 years ago
Trivernis b8a0d124fe Removed additions to api 5 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
5 years ago
Trivernis 3da2d098c4 Reverted changes to music lib
- reverted to youtube title information
5 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)
5 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
5 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
5 years ago
Trivernis 08d220b4c1 Updated AniListApi graphql path 5 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
5 years ago
Trivernis 2a2386e545 Added name changes to changelog 5 years ago
Trivernis 26e8355a54 Added Commands
- added commands `~changes` and `~versions` to query the changelog
5 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
5 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
5 years ago
Trivernis 2bb17e7e51 Critical Bugfixes 5 years ago
Trivernis 7d04e53e02 Fixed bug in AniList commands
- fixed character information voiced by not showing any names
5 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`
5 years ago
Trivernis 3ae7fbc6fa Fixed Style issues 5 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
5 years ago
Trivernis ff9d78566b Implemented basic AniList api features
- changed anilist query files
- added autocropping to ExtendedRichEmbed
- updated Readme
5 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
5 years ago
Trivernis 6f890dacee Added ServerUtilityCommands module 5 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
5 years ago
Trivernis 556c3a5e7f Added Servercommands
- added commands for music functionalities
5 years ago
Trivernis a425607a6b Changed CommandHandler
- registering commands no longer needs a name
- added info commands implementation
5 years ago
Trivernis c4f3635dd6 Started Reimplementing Commands
- reimplemented utils
- reimplemented info
5 years ago
Trivernis 08dcf2f084 Added 2 Anilist Commands 5 years ago
Trivernis 0223180053 Started restructuring command handling 5 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
5 years ago
Trivernis bb1d952d18 Fixes in code quality 5 years ago
Trivernis f2ef10bf08 Fixed a bug in lib/music 5 years ago
Trivernis 43e65e6949 Changed commands
- changed global command syntax to templates
- added ~about and ~bug
5 years ago
Trivernis 5444089261 Added Message Rate limits 5 years ago
Trivernis c2f3ae08a1 Fixed security problem
- excluded ~execute from saved sequences to avoid recursive calls
5 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
5 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
5 years ago
Trivernis 13493d8db5 Changes to lib/music
- changed the listener Checking to event based
- bot updates the VoiceChannel when moved to another one
5 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
5 years ago
Trivernis 7ad8fc7ff2 Replaced Promises with Async 5 years ago
codefactor-io 742848f36f [CodeFactor] Apply fixes 5 years ago
Trivernis d3e1106d70 Changes to Authentication
- changed to password encryption on client side
- modified login page
- renamed webapi to weblib
5 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
5 years ago
Trivernis f8a765799e Bug fix
- getSplitDuration now returns the correct time
5 years ago
Trivernis 1d3ce93561 Modified Dashboard
- added Song timer
- added active VC count
- improved layout
- added querying for VC count to graphql
5 years ago
Trivernis 36b6416531 Bugfixes and features
- fixed player bug
- added duration to play view
- fixed queue view
- added queue count
5 years ago
Trivernis bfe29e0ef4 Dashboard modifications
- finished most functionalities of the dashboard
- fixed some bugs
5 years ago
Trivernis c46f34fd59 Changes to webservice
- added more query parameters
- started working on webinterface
- tokens for authentication
5 years ago