Commit Graph

336 Commits

Author SHA1 Message Date
spiral
375758206e
fix: show correct name in entityReference when base name is private 2022-02-05 09:26:14 -05:00
spiral
fc8f1b7cd3
fix: don't require Redis for startup 2022-02-04 14:53:56 -05:00
spiral
84e7e71f88
fix(logclean): use application ID rather than bot user ID when needed 2022-01-23 01:47:04 -05:00
spiral
0419ced0d2
feat: store shard status in Redis 2022-01-22 03:52:52 -05:00
spiral
df6a6fcf12
refactor: don't DI IDatabase and ModelRepository into bot command classes 2022-01-22 03:05:01 -05:00
spiral
89c44a3482
feat: cache Discord DM channels in database 2022-01-22 02:47:47 -05:00
spiral
ddbf0e8691
Revert "feat: remove 2000-character limit for proxied messages"
This reverts commit 7cc2aab1f0.
2022-01-21 18:24:55 -05:00
spiral
4a739c2d61
feat: better error reporting settings 2022-01-21 00:10:51 -05:00
spiral
7aae41c080
feat: clean up log cleanup
- fix Carl-bot's user ID
- remove Logger#6278 (has been offline since 2020)
- remove webhook name checks, and rely on application ID instead
- add premium version of some bots
2022-01-20 23:37:32 -05:00
spiral
a16903037f
fix: don't try to re-send stickers and activity invites 2022-01-14 23:22:12 -05:00
rladenson
f3869dbcbe
feat: rework group list into member list 2022-01-14 22:30:02 -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
8e119d0d42
refactor: don't pass through channel ID to LogMessage 2022-01-14 15:12:10 -05:00
spiral
df9e7c3eb9
fix: correctly check log blacklist for messages edited outside the target guild 2022-01-14 15:11:42 -05:00
spiral
7cc2aab1f0
feat: remove 2000-character limit for proxied messages 2022-01-14 15:08:39 -05:00
spiral
34df19c551
fix: don't delete rows from messages table when the associated member is deleted 2022-01-11 09:43:55 -05:00
spiral
54830fd264
feat: add ProBot log cleanup 2022-01-11 08:13:01 -05:00
spiral
4d04f859e6
feat: revert system/group card member count privacy 2021-12-23 23:23:16 -05:00
spiral
391d6de6e4
fix: show group member count in group card, rather than system member count 2021-12-23 23:16:29 -05:00
spiral
455830a2b5
feat: public/private lookup flags, consistency 2021-12-06 00:32:54 -05:00
spiral
56d07e0f2d
feat: pk;config 2021-11-29 21:35:21 -05:00
spiral
99a9ec7928
feat: beta bot patches 2021-11-27 11:09:08 -05:00
spiral
4450ae4214
feat: go through some TODOs 2021-11-26 22:02:58 -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
b1f4253efb
fix: show correct file size in 'file too large' error message 2021-11-19 10:22:11 -05:00
spiral
0ca356eec3
feat: add support for attachment descriptions 2021-11-19 09:34:52 -05:00
spiral
36acb5bae6
feat: add correct error about guild boost file size limit 2021-11-19 08:11:23 -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
f7b48ab30d
fix: FromDateTimeUtc needs, as mentioned, an UTC datetime 2021-11-10 23:50:44 -05:00
spiral
343fafe9f0
feat: respect Discord permissions in pk;message and pk;edit 2021-11-10 23:46:16 -05:00
spiral
ec3795f9d0
feat: globally rate-limit sending errors, rather than per-channel 2021-11-09 01:48:47 -05:00
spiral
38cbca1b34
feat: respect guild boost file size limit when re-sending attachments 2021-11-04 14:13:43 -04:00
spiral
29b28ba742
lint >:( 2021-11-02 22:47:14 -04:00
spiral
21e3e61db0
fix: correctly handle missing role cache in message embed 2021-11-02 22:36:14 -04:00
spiral
8d02af7b94
refactor: move GroupAddRemoveResponseService into GroupMemberUtils
(it's not a service)
2021-10-31 01:11:10 -04:00
Katrix
b998636cbe
feat: add -raw flag to pk;msg (#399) 2021-10-29 16:42:10 -04:00
spiral
3bc451eb4b
feat: move scheduled tasks to separate project 2021-10-15 06:27:38 -04:00
spiral
92e45a07ff
refactor: add SqlKata for SQL generation, move connection handling into ModelRepository 2021-09-29 21:51:38 -04:00
spiral
0517c76abf
feat: delete command messages with pk;msg -delete 2021-09-26 22:49:43 -04:00
spiral
db5fae0fb4
feat: edit messages in threads 2021-09-24 19:03:40 -04:00
spiral
fc11a7b8ee
feat: raise command message retention time to 24 hours 2021-09-13 02:13:19 -04:00
Ske
9bbe9df16d Clean up a few database pool uses 2021-09-03 22:20:07 +02:00
spiral
2ddef25177
refactor: don't use a class for GroupAddRemoveResponse; fix tests 2021-08-27 19:18:59 -04:00
spiral
ac2671452d
run dotnet format 2021-08-27 11:03:47 -04:00
spiral
f912805ecc
feat: make group member add/remove response code less confusing; add tests 2021-08-25 19:51:33 -04:00
spiral
0d583a2a6b
fix: fetch guild settings for server tag in system card 2021-08-25 12:30:42 -04:00
Ske
4c17ee3d89 Fix proxying in channels without message history + reduce proxy latency 2021-08-08 21:56:24 +02:00
Ske
1720a28af2 Fix system card lookup in DMs 2021-08-08 15:31:03 +02:00