spiral
84529f6f32
fix: put Serilog event ID / shard ID in same scope as Sentry error ID
2022-01-20 23:38:58 -05:00
spiral
c6e4c862b8
feat: update Discord status only on identify
...
See <https://github.com/discord/discord-api-docs/issues/4073#issuecomment-1016762755 >
We still update status when restarting cluster, because it doesn't really matter if the session dies in that case (we're already restarting / going to reidentify)
2022-01-20 05:52:40 -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
d58cc216c0
fix: unbreak error reporting for @mention prefix
2022-01-14 15:05:46 -05:00
spiral
997458c9dc
feat: show custom prefix in bot status
2021-11-27 11:08:28 -05:00
spiral
04d78e3348
refactor: remove some unused code
2021-11-26 21:14:09 -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
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
35bbf199f6
feat: add config setting to disable sending errors
...
we've disabled/re-enabled these a few times in code now...
2021-11-09 01:50:09 -05:00
spiral
c9e2425a67
fix: disable error reporting... again
2021-11-07 12:25:20 -05:00
spiral
14b0e98791
feat: remove DiscordRequestObserver
2021-11-02 05:34:17 -04:00
spiral
f897ce5a45
fix: re-enable error messages for explicit commands
2021-10-29 17:34:28 -04:00
spiral
3bc451eb4b
feat: move scheduled tasks to separate project
2021-10-15 06:27:38 -04:00
Ske
071e8b0791
Disable sending internal error messages for now
2021-10-13 23:30:47 +02:00
spiral
ac2671452d
run dotnet format
2021-08-27 11:03:47 -04:00
Ske
41427db178
Use a proper user agent when fetching images
2021-08-23 22:53:58 +02:00
spiral
28bcb35bb2
fix cache error on system messages
2021-08-02 16:18:39 -04:00
spiral
43017c1522
Correctly log errors from gateway event enrichers
2021-07-28 02:09:52 -04:00
Ske
1f2b9f998d
Preliminary support for APIv9 and threads
2021-07-15 12:41:19 +02:00
Ske
ae82bb4168
Updates to Elastic logging
2021-06-10 14:21:05 +02:00
Ske
8740230c3d
Add a few utility admin commands
...
Signed-off-by: Ske <voltasalt@gmail.com>
2021-06-08 19:37:44 +02:00
Ske
41f1c58a9f
Merge branch 'new-shard-handler'
2021-06-08 10:20:59 +02:00
Ske
118f2d49a6
WIP new shard implementation
2021-06-08 10:19:54 +02:00
Ske
d7c0592947
Add preliminary support for buttons
2021-05-26 22:27:52 +02:00
Ske
478857e8c6
Format guild count in activity properly
...
Signed-off-by: Ske <voltasalt@gmail.com>
2021-04-29 11:14:04 +02:00
Ske
80c572f594
Fix various bugs and regressions
2021-01-31 16:02:34 +01:00
Ske
d56e878c28
Converted shard and logclean service
2021-01-30 01:07:43 +01:00
Ske
f6fb8204bb
Add embed builder, some more ported classes
2020-12-23 02:19:02 +01:00
Ske
a6fbd869be
Initial commit, basic proxying working
2020-12-22 13:15:26 +01:00
Ske
aee91987c2
Lower log level for gateway event spam
2020-11-16 21:59:28 +01:00
Ske
6fb979e74d
Add metrics for error/event rates
2020-11-16 09:57:16 +01:00
Ske
634173e205
Update to D#+ 4.0.0-rc1
2020-11-15 13:53:31 +01:00
Ske
81cd5496d5
Refactor command message deletion
2020-10-23 12:18:28 +02:00
dev-kittens
05cc30279a
- Add storing bot response messages in postgres
...
- Add scheduled task to clean up said store
2020-10-18 00:18:52 -05:00
Ske
5269f994cf
Add new internal error message + send rate limiting
2020-09-20 22:35:05 +02:00
Ske
8477cfaf0e
Actually include the Sentry ID in the logs
2020-08-28 18:48:57 +02:00
Ske
9955dc29f9
Add Elastic-bound logging of (almost) all database update events
2020-08-27 21:28:36 +02:00
Ske
8d27148bdf
More updates to event infrastructure
2020-08-27 18:20:20 +02:00
Ske
e556cc71fa
Add persistent event ID to log context
2020-08-27 14:40:49 +02:00
Ske
2e6b1826fc
Add experimental Elasticsearch logging output
2020-08-26 22:29:24 +02:00
acw0
3c5aec1df8
Show bot status as "Idle" when restarting
2020-07-29 11:30:46 +02:00
Ske
2c35649ef0
Use AllowedMentions to disable mentions everywhere by default
2020-06-20 17:33:10 +02:00
Ske
088bc15e5e
Upgrade Autofac dependency
2020-06-15 00:52:20 +02:00
Ske
8ea02dae81
Add more error reporting for Discord errors
2020-05-12 21:26:37 +02:00
Ske
65bac86ac1
Only update status if we've received a Ready
2020-05-12 21:26:37 +02:00
Ske
a3517f8663
Refactor order of shard initialization
2020-05-12 21:26:37 +02:00
Ske
892601110f
Temporary workaround for https://github.com/DSharpPlus/DSharpPlus/issues/565
2020-05-05 19:10:33 +02:00