Commit Graph

13 Commits

Author SHA1 Message Date
Ske 999ea5f0b5 Refactor and simplify the main bot classes 2020-05-02 01:52:52 +02:00
Ske 546cb7f97a Remove webhook rate limit cache
The move to DSharpPlus makes it unnecessary, as D#+ can actually do webhook invocations on its own.
2020-05-01 00:00:33 +02:00
Ske 9b6f79a508 Factor DiscordConfiguration out into DI 2020-04-29 00:05:26 +02:00
Fennel c99784b9dc Fix Build Errors 2020-04-28 22:30:11 +02:00
Ske 23cf06df4c Port some things, still does not compile 2020-04-17 23:10:01 +02:00
Ske fa70df8f98 Add proper webhook rate limit support 2020-03-27 00:01:42 +01:00
Ske e9cc8ed424 Add logger bot cleanup support 2020-02-15 14:17:25 +01:00
Ske 6d5004bf54 Large refactor and project restructuring 2020-02-12 15:16:19 +01:00
Ske 1386e6743b Proxy edited messages if the message is the last one in the channel, and the edit introduces proxy tags where there were none previously 2020-02-12 14:21:48 +01:00
Ske 6863da9462 Disable Discord member caching entirely 2020-02-01 15:00:36 +01:00
Ske 82dfe43d5a Rework caching
This does a *lot* of things. Essentially, it replaces the existing
individual proxy- and autoproxy caches on the bot end with a
global cache (in Core) that handles all the caching at once, and
automatically invalidates the cache once something changes in the
datastore.

This allows us to do proxying and autoproxying with *zero database
queries* (best-case).
2020-02-01 14:40:57 +01:00
Ske 125ea81ec3 Move command functions around 2020-02-01 13:03:44 +01:00
Ske 1ea0526ef8 Migrate DI container to Autofac 2020-01-26 01:27:45 +01:00