Commit Graph

6 Commits

Author SHA1 Message Date
Sheldan
7d63f6b8af added some utility methods to bot service
reworked message cache to not be jda messages, but own objects: cachedMessages, jda messages should not be kept around
added listener to listen for message links, to represent them in an embed (or embeds)
added offsetDateTime handling for gson
introduced a way on how to handle async transaction handling for suggestions and message loading (self reference with another method with transactional)
added timestamp support to embeds
2020-03-24 20:36:36 +01:00
Sheldan
d3a9a7a9f0 added embed support fo message deleted and message edited
added attachment support for message deleted
added imageUrl support to embed templating
2020-03-20 21:20:14 +01:00
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
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