40 Commits

Author SHA1 Message Date
13xforever
12912d464b clean up usings 2025-03-24 20:38:58 +05:00
13xforever
c945b66ec8 fix sudo commands 2025-03-23 15:25:38 +05:00
13xforever
956ead85f7 updating more stuff 2025-03-10 07:48:51 +05:00
13xforever
29c2bef51a update namespaces and some enums 2025-03-09 11:40:00 +05:00
13xforever
001dd8840b upgrade to D#+ v5 and migrate client initialization code 2025-03-08 12:23:11 +05:00
13xforever
70651bb8da use ellipses instead of three dots whenever appropriate 2025-03-08 07:01:28 +05:00
13xforever
5f039d3939 add global usings 2025-03-08 07:01:22 +05:00
13xforever
4b977f9a01 actually maybe it's enough to do the usual manual reconnect 2025-03-07 20:13:50 +00:00
13xforever
204328fd76 try to fix dead bot issue in one new case 2025-03-07 20:13:50 +00:00
13xforever
92751ba6e9 use file-scoped namespaces to reduce nesting
some formatting might be fucked
2022-06-30 00:59:46 +05:00
13xforever
9a303fe65a make socket disconnect check configurable 2021-06-15 12:01:35 +05:00
13xforever
659f275184 restart on memory overcommitment 2021-05-30 15:05:38 +05:00
13xforever
1c95069c86 track more discord latency data 2021-04-23 20:37:58 +05:00
13xforever
029ca500b6 more typos and log tags for images 2021-02-09 16:10:21 +05:00
13xforever
2c1b685ae8 typos 2021-02-05 16:04:11 +05:00
13xforever
54001f6c78 restart the bot automatically if taskscheduler shat itself 2020-11-23 20:42:17 +05:00
13xforever
6ad501590f fix resharper warnings 2020-11-14 15:58:16 +05:00
13xforever
1c915e05b5 use await using where appropriate 2020-11-14 15:25:20 +05:00
13xforever
24f63858e0 replace object initialization with the new() 2020-11-14 14:33:29 +05:00
13xforever
d65444f0be bot update, part 1 2020-11-12 00:17:12 +05:00
13xforever
c081e45419 change metric names and add ws tracking 2020-09-10 22:46:57 +05:00
13xforever
7d21c4a1cd log gc memory as well 2020-09-10 22:22:19 +05:00
13xforever
79e198225b log memory stats 2020-09-10 22:16:10 +05:00
13xforever
55a9b75dfc additional checks for memory usage 2020-09-09 22:17:54 +05:00
13xforever
c27d7f4f0a try to workaround new limits rolled out by discord
also make a bunch of settings configurable
2020-09-02 20:16:46 +05:00
13xforever
7574d37639 updates for the new logging facilities in the discord client library 2020-09-01 15:05:27 +05:00
13xforever
e6348937db try to reduce memory fragmentation in metrics 2020-07-06 13:13:52 +05:00
13xforever
79d032940c add some metrics 2020-07-03 13:57:27 +05:00
13xforever
fd403b52f7 give more info on restart 2020-03-21 16:45:04 +05:00
13xforever
33b226500e save custom restart message 2020-03-21 15:35:36 +05:00
13xforever
ffb8bbea21 make incoming message timeout configurable 2020-02-11 20:51:23 +05:00
13xforever
da946369a9 fixed some facepalm moment 2020-01-03 15:15:19 +05:00
13xforever
3d95b33ff5 try to workaround the issue when there's no incoming events 2019-12-24 20:26:25 +05:00
13xforever
09f25173e6 this is not useful anymore 2019-04-28 23:10:11 +05:00
13xforever
1ae15982de soft reconnect seems to be useless in this scenario 2019-04-24 16:04:52 +05:00
13xforever
dd37aedfa0 try all the things 2019-04-23 03:49:46 +05:00
13xforever
4319dfccf9 try manual reconnect before restarting in case of socket deadlock 2019-04-22 22:47:09 +05:00
13xforever
a6b03672ed use thumbnail channel for system spam 2019-04-21 22:41:26 +05:00
13xforever
3c99a237d2 use the existing restart command instead of just dying (._.) 2019-04-21 22:38:20 +05:00
13xforever
210886deb8 implement workaround for discord client deadlock in sockets code 2019-04-21 22:27:21 +05:00