Commit graph

186 commits

Author SHA1 Message Date
Noi
23dd15d741 Update to use GuildConfiguration; small other tweaks 2020-07-19 19:07:23 -07:00
Noi
6d7db85310 Remove unneeded property 2020-07-19 19:01:34 -07:00
Noi
581df48855 Add IsBotModerator method
Very similar to a previously existing method that was mistakenly removed.
2020-07-18 00:31:01 -07:00
Noi
608ab37aec Update background services to remove guild cache references
Possibly optimized StaleDataCleaner as well by making certain database
updates asynchronous
2020-07-18 00:01:14 -07:00
Noi
488685bc79 Rewrite GuildUserConfiguration
Corresponding to GuildConfiguration, no longer assumes it is cached.
2020-07-16 13:29:50 -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
f71552c46d Change Database to be a static class 2020-07-16 11:55:26 -07:00
Noi
0f05e3f0a8 Rewrite GuildConfiguration
No longer assumes it's permanently cached. When used, now requires that
any updates have its update method explicitly called.
2020-07-16 11:50:55 -07:00
Noi
aedc0f2ba7 Rename files 2020-07-16 11:50:12 -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
f839890b73 Fix StaleDataCleaner not working 2020-06-03 00:17:54 -07:00
Noi
99786a7b70 Suppress unneeded log messages 2020-06-02 23:11:34 -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
7500590113 Update libraries 2020-05-22 00:36:11 -07:00
Noi
48481e0379 Add reminders for error reporting improvements 2020-05-22 00:27:31 -07:00
Noi
a91e22ca71 Fix exception on every non-command incoming message 2020-05-22 00:26:55 -07:00
Noi
9278ef0a48 Disable output of debug information in Release build 2020-05-22 00:26:21 -07:00
Noi
75924cc096 Revert GuildStatistics to previous behavior
Sending in reports per shard is currently unnecessary.
Added GuildCache number display for further information. It may be worth
considering removing -that- in the future and load all database
information as needed.
2020-05-22 00:21:40 -07:00
Noi
2a15fc21c8 Implement per-shard reporting 2020-05-21 23:54:05 -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
5d915f9ca0 Fix guild settings being stored incorrectly 2020-05-21 21:19:18 -07:00
Noi
7f8c722b3d Fix array copy error 2020-05-21 21:18:54 -07:00
Noi
c78276b6d5 Fix announcement formatting 2020-05-21 21:18:15 -07:00
Noi
20834b677a Modify debug/release delay behavior 2020-05-21 21:17:38 -07:00
Noi
0d93936bc8 Make corresponding changes from VB-based project 2020-05-19 19:15:54 -07:00
Noi
0b6f2c45a4 Add StaleDataCleaner and related changes 2020-04-10 00:20:47 -07:00
Noi
6195e1ed60 Add publish profile 2020-04-09 22:49:14 -07:00
Noi
14b3219ee6 Add missing word 2020-04-09 22:48:59 -07:00
Noi
4a052e4394 Various improvements
Reorganized ProgressGuildAsync to better show its process instead of
having pieces of it scattered. Also improves performance by performing a
check before doing birthday processing.
Additionally, other parts of the file were condensed slightly.
2020-04-03 21:19:29 -07:00
Noi
c5cab92899 Slightly improve birthday update task handling 2020-04-03 20:58:02 -07:00
Noi
670309715b Move background delay handling; improve background loop 2020-04-03 20:26:42 -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