Commit Graph

20 Commits

Author SHA1 Message Date
Ske 472e556ef0 Pass proper allowed_mentions when sending webhook messages 2020-06-28 20:26:14 +02:00
Ske 34f4ff4e1b Upgrade DSharpPlus version to 4.0.0-nightly-00707
This fixes passing an empty mention array to SendMessageAsync, making our workaround obsolete
2020-06-21 15:11:18 +02:00
Ske fbbbb51998 Upgrade DSharpPlus version 2020-05-23 01:59:27 +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 f56c3e819f Replace Discord.Net with DSharpPlus
This commit will not compile.
2020-04-17 18:38:12 +02: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 3b2167e16f Shuffle dependencies around 2020-01-26 01:30:39 +01:00
Ske 1c184825e3 Use fork of D.NET to potentially resolve issues 2019-12-23 18:36:56 +01:00
Ske 6a4c131d6d Upgrade every dependency to latest compatible version 2019-12-23 15:53:20 +01:00
Ske 9c9e48a799 Upgrade to .NET Core 3.1 2019-12-22 00:40:57 +01:00
Ske 474d561c54 Execute webhooks directly rather than through D.NET 2019-12-21 18:50:28 +01:00
Ske 1988b29fbc Refactor command system 2019-10-05 07:41:00 +02:00
Ske 423d23faf7 Cache account lookup in memory when proxying 2019-08-12 03:48:08 +02:00
Ske 11eabe2e3d Update D.NET version and add bulk deletion support 2019-07-21 17:16:04 +02:00
Ske 0b4335ccaa Add logger to API service setup 2019-07-18 17:26:06 +02:00
Ske 961bfe9094 Add basic logging framework 2019-07-18 17:13:42 +02:00
Ske 18e4d7c9ac Add preliminary Sentry support 2019-07-15 21:02:50 +02:00
Ske 08afa2543b Add member avatar edit command
This also refactors a large portion of the DI toolchain, since
I discovered that you shouldn't be reusing IDbConnection objects.

Instead, most services and stores are now declared transient, and
the webhook cache has been moved to a database-independent storage
singleton by itself.
2019-05-17 01:23:09 +02:00
Ske c5d2b7c251 refactor project structure 2019-05-08 00:06:27 +02:00