Commit Graph

10 Commits

Author SHA1 Message Date
Sheldan
9b7f0743fc upgraded spring boot starter version
added gson dependency
added logging the exception in the exception post executor
added configuration exception in case the configuration for posttargets is not correct
added support to send embeds to posttargets
changed interface to be a warnlog instead of a server context for warning users, because the template
changed freemarker Incompatible Improvements to support default methods in interfaces
added ability to define embed configurations to be used, in order for a template to only be configurable as a template
changed template content size to 4000 characters
2020-03-20 16:06:19 +01:00
Sheldan
c978c1c677 changed context handling for command models for logging
added method to convert the user initiated context to a concrete command model
added method to find if a template exists
added method to render a context aware model
added banid command
2020-03-20 09:34:37 +01:00
Sheldan
ec21305725 added conventions for templated commands, to reduce the amount of necessary configuration
added an exception, in case the command was missing the correct types of parameters (channel is required, no channel was found)
added fix text to exception handler, in case the message of an exception is null
fixed off-by-one error when searching the missing parameter
changed supported chanel from guildChannel to textChannel for posttarget
added slowmode command
2020-03-18 21:06:27 +01:00
Sheldan
9119d57108 added kick command, made ban reason optional 2020-03-18 19:25:49 +01:00
Sheldan
bd848d31d3 added warn and ban command
changed command context to be a member instead of user, commands are only supported within guilds
added custom exception templating for the error message
added error message in case the parameters for a command were too little
added support for templates on command help descriptions
added post execution to be executed to print exception messages
refactored command handling to be able to support exceptions
added user and userInServer management
2020-03-18 18:21:06 +01:00
Sheldan
167bbb0f8b added template support to echo
replaced HashMaps for templates with concrete models, so the interface is easier known
added rendering method for objects directly
added default parameters available for commands
split up service beans for server/channel into management and service bean
added server reference in AChannel
refactored join/leave listener
2020-03-17 19:41:25 +01:00
Sheldan
0521a1ab44 added templating support
changed ping command to use templates
added userjoin/userleave event
added guild to command context
refactored post target service
added logging output to initial loading
added server_id to postTarget
added leave log postTarget
2020-03-16 01:28:17 +01:00
Sheldan
5c6b7b9a78 added module responsible for accumulating the dependencies and resulting in a jar
added channels module
added help info object to command configuration
added description field to parameter
added modules for commands (and packed modules), they are mapped by name
added post command execution interface
added support for optional parameters
added support for using guildchannel as parameter
added printing of modules to help command
added service beans to wrap over the operations on the repository
added synchronizing of channels/roles on startup (controlled by flag)
added builder annotations to model classes
added more model classes
2019-12-12 16:47:54 +01:00
Sheldan
42cfe33b3a added initial version containing ping/echo command and first draft of the command handling structure 2019-12-09 23:50:24 +01:00
Sheldan
78a4d814ad Initial commit 2019-12-08 13:36:09 +01:00