Commit Graph

18 Commits

Author SHA1 Message Date
spiral
89c44a3482
feat: cache Discord DM channels in database 2022-01-22 02:47:47 -05:00
spiral
50a24f03a7
refactor: only pass shard ID to event handlers instead of full shard object 2022-01-14 18:39:03 -05:00
spiral
1918c56937
feat: upgrade to .NET 6, refactor everything 2021-11-26 21:10:56 -05:00
spiral
7a5ba8246e
refactor: cache own user ID in IDiscordCache
- remove Cluster.User
- remove Cluster.Application (it was only being used as an alternative to Cluster.User for some reason)
- move Bot.PermissionsIn to DiscordCacheExtensions
2021-11-21 19:42:35 -05:00
spiral
24ac0725af
refactor: move guildMember caching to IDiscordCache 2021-11-21 12:06:08 -05:00
spiral
923ad100e5
lint 2021-11-19 07:57:01 -05:00
spiral
0efaab6d95
refactor: don't use 'out' in IDiscordCache methods
this change is required for async cache (.NET doesn't support async ref/out params)
2021-11-18 13:11:02 -05:00
spiral
e7f36eb31f
feat: async cache
this breaks logging bot permissions to Sentry.

we haven't had a need to check those recently (permissions issues were because of broken cache), so this is fine for now
this should be re-added in the future though
2021-11-17 20:41:02 -05:00
spiral
ac2671452d
run dotnet format 2021-08-27 11:03:47 -04:00
Ske
1f2b9f998d Preliminary support for APIv9 and threads 2021-07-15 12:41:19 +02:00
Ske
dbde8c07ad Fix a few more compiler warnings
Signed-off-by: Ske <voltasalt@gmail.com>
2021-05-07 10:56:15 +02:00
Ske
c02a7572b3 i am good at programming 2021-03-21 16:03:42 +01:00
Ske
ce790b13ae Fix DM events not having proper channel data 2021-03-21 14:22:55 +01:00
Ske
1c548e9d7b Fix messages in DMs 2021-03-18 11:28:11 +01:00
Ske
a2c8cbb560 Add DM support 2020-12-25 13:19:35 +01:00
Ske
47b16dc51b Port more things! 2020-12-24 14:52:44 +01:00
Ske
05334f0d25 Converted enough to send the system card 2020-12-22 16:55:13 +01:00
Ske
a6fbd869be Initial commit, basic proxying working 2020-12-22 13:15:26 +01:00