Commit graph

32 commits

Author SHA1 Message Date
Noi
578f2545f2 Various changes
-Remove webhook logging references
--Including config line. Idea is abandoned for now.
-Remove unneeded comments
-Remove diagnostic messages
--Corresponding problems were solved by moving to dedicated hardware
-Update style on all affected files
2021-12-05 18:58:10 -08:00
Noi
51e241aca8 Restore "most users downloaded" checks
Workaround to deal with continued instances of inconsistent Discord.Net user downloading behavior
2021-12-05 18:25:02 -08:00
Noi
5e4d030467 Rework member cache downloading
Fill it quicker when immediately needed, removing the need for a request list and all relating to it in the corresponding background service.

Additionally, updated usings, style, nullables in all affected files.
2021-11-22 13:40:08 -08:00
Noi
488ebfa163 Update style, add nullable 2021-11-22 13:32:30 -08:00
Noi
800bba2193 Add more information to check command
Additionally, fix up null checks in affected files
2021-10-24 18:15:46 -07:00
Noi
0c56a0859a Replace test with check command
Removes some messy code as a result of the old feature's removal.
Additionally, updated code style in ManagerCommands and fixed several nullable issues.
2021-10-22 15:41:36 -07:00
Noi
ca0dd74bae Move bot uptime property from Common to Program
Additionally, update code style in Common
2021-10-18 16:58:22 -07:00
Noi
8cff530a7c Remove semaphore in SelectiveAutoUserDownload
Also updated style for this file.
Additionally, reworded the corresponding error message to something friendlier.
2021-10-13 21:36:00 -07:00
Noi
dcb9bfdd9a Apply suggestions from code analysis 2021-10-13 20:38:52 -07:00
Noi
b0fcd19710 Replace About message; remove zone option in set command
Regarding the latter, it led to a lot of confusion whenever anyone got the command wrong.
2021-10-13 19:29:24 -07:00
Noi
665c767cea Replace Calcutta with Kolkata 2021-10-13 19:28:35 -07:00
Noi
7971295477 Split long recent-upcoming messages 2021-07-04 10:39:50 -07:00
Noi
0f4b2d722c Add some aliases for help and info commands 2021-02-03 22:17:00 -08:00
Noi
69583e2270 Add more supported input formats 2021-02-03 21:55:37 -08:00
Noi
a0571ce3d7 Add some leeway regarding incomplete user cache
Implemented several workarounds to what appearto be a library bug in
which not all users will be downloaded onto the cache. User cache
checking and downloading is delegated to a new Common method and a
new BackgroundService, respectively.
This is hopefully temporary.
2021-02-01 22:48:20 -08:00
Noi
651de4e78a Configure all the awaits 2020-10-10 00:28:11 -07:00
Noi
2f0fe8641a Implement own sharding system
The BirthdayBot class has been split up into ShardInstance and
ShardManager. Several other things have been reorganized so that shards
may act independently.

The overall goal of these changes made is to limit failures to sections
that can easily be discarded and replaced.
2020-10-04 21:40:38 -07:00
Noi
b711fec302 Update TZ information help text 2020-08-25 00:23:51 -07:00
Noi
3d3db6d5e1 Update remaining handlers to not use guild cache 2020-07-22 16:58:38 -07:00
Noi
23dd15d741 Update to use GuildConfiguration; small other tweaks 2020-07-19 19:07:23 -07:00
Noi
7ac15e21a1 Remove guild cache from BirthdayBot
Guild information no longer loaded on join, but instead on command
invocation. This information is to be passed on directly to the command
handler.
2020-07-16 12:23:40 -07:00
Noi
e3a86dd6dc Increase time span coverage for recent/upcoming
Also adds a simple way to prevent the resulting message
from growing too large
2020-07-16 09:21:46 -07:00
Noi
0bd9b79e50 Replace OperationStatus with test command 2020-07-14 11:59:14 -07:00
Noi
fbbc675ab0 Improved error messages under manager commands 2020-06-03 19:20:18 -07:00
Noi
1137777092 Improved user-facing error messages
Also moved bb.when handler to a different class
2020-06-03 18:58:03 -07:00
Noi
fdb8e2bbb9 Add helper class to simplify documentation sharing 2020-06-03 18:56:45 -07:00
Noi
6f4222497e Fix bb.when output
(I don't get how this fixed it)
2020-05-22 17:01:14 -07:00
Noi
48481e0379 Add reminders for error reporting improvements 2020-05-22 00:27:31 -07:00
Noi
2965dd0ea1 Add Obsolete attribute to common error
Intending to add more helpful error messages in the future.
2020-05-21 21:36:41 -07:00
Noi
7f8c722b3d Fix array copy error 2020-05-21 21:18:54 -07:00
Noi
0d93936bc8 Make corresponding changes from VB-based project 2020-05-19 19:15:54 -07:00
Noi
ddcde10e09 First commit for C# rewrite
All existing VB code was 'translated' to C# as closely as possible, with
minor changes and additional notes. Currently untested and likely
broken.
Further commits will go toward making overall improvements until this
version replaces the currently existing code.
2020-04-02 11:38:26 -07:00