Commit graph

265 commits

Author SHA1 Message Date
cf6df4d0c7 Fix failing to remove own name when bot is renamed on server 2023-04-04 23:32:49 +02:00
9227935de5 Use Virtual Threads for handling listening message create events
The API calls require some time and this might overload the handler and
produce warnings.
2023-04-04 23:15:28 +02:00
79f5fd6a0e WIP: Implement command to obtain the amount of consumed tokens 2023-04-04 23:05:39 +02:00
dc4b9be195 Implement rate limiting 2023-04-04 22:29:05 +02:00
44f039c691 Add convenience script to build and publish an OCI image 2023-04-04 21:41:05 +02:00
34ada84476 WIP Implement rate limiting
It's kind of a prototype and not connected. It's not tested and I will
probably rewrite it in plain sql.
2023-04-04 20:12:44 +02:00
a13df046c6 Refactor handling MessageCreateEvents
The refactoring removes the support for DMs. The current DB
implementation does not support DM configuration/logging.
2023-04-04 19:13:50 +02:00
4418b08fbb Add persistence over Postgresql 2023-04-04 17:52:50 +02:00
9ff2754e00 Add slf4j logging with logback-classic backend 2023-04-04 00:46:35 +02:00
18885df70d Try to improve response format 2023-04-04 00:10:59 +02:00
0d65ea6875 Fix long value postfix 2023-04-03 20:26:15 +02:00
adbc2a0843 Add dockerignore
Improve caching :D
2023-04-03 19:45:46 +02:00
4d75f71ac8 Add .idea to the ignored files
You should generate/configure your editor/IDE as you like.
2023-04-03 19:43:31 +02:00
687a6dbec4 Make the api keys configurable through env vars 2023-04-03 19:41:19 +02:00
d7bc035b3e Init 2023-04-03 19:15:48 +02:00