2977ae61f1
Whitespace and style fixes
2024-04-28 01:51:58 -07:00
d262191d52
Replace preconditions with Discord permissions
...
Removed precondition code, moderator roles, unused database values.
Slightly rearranged commands.
2023-02-03 22:55:00 -08:00
bbb640df56
Mark remaining preconditions as obsolete
2023-01-16 21:52:11 -08:00
e4f5c90aab
Remove EnforceBlockingAttribute and all related logic
...
Users have been instructed to manually set command permissions from now on
2023-01-16 21:43:07 -08:00
841d120015
Mark blocking as obsolete, don't accept new blocks
2022-11-23 00:02:20 -08:00
4f22d4b991
Merge branch 'main' into cleanup
2022-11-22 23:40:48 -08:00
a3ac5d6ede
Change data types from long to ulong
2022-11-22 23:19:37 -08:00
fbd7305818
Revert, unset pool configuration changes
2022-11-21 20:38:06 -08:00
a9853021f4
Edit SQL pool config, usage
2022-11-21 10:45:46 -08:00
e265cafd25
Fix incorrect value checked for determining moderator
...
The public instance will be updated with this fix immediately.
This fixes cases in which those with moderator roles are unable
to use mod-only commands as intended.
It also fixes a dangerous bug in which users with the birthday role
assigned to them have unrestricted access to moderator commands.
2022-10-10 14:27:54 -07:00
12fe869b26
Style updates
2022-08-31 21:09:10 -07:00
a725ecca87
Remove unneeded files
2022-08-31 20:25:22 -07:00
b9604dadfe
Remove text-based commands
2022-08-29 12:22:42 -07:00
261d54197d
Load database config on initialization
...
Adapted from RegexBot.
This allows `dotnet ef` tools to make use of actual SQL credentials
rather than dummy ones.
2022-08-09 17:37:29 -07:00
c280904cb8
Update services to use EF queries
2022-03-21 12:12:18 -07:00
a88797cb0a
Debug query logging
2022-03-20 22:33:16 -07:00
0a81f208ea
Add new extension methods for retrieving data
2022-03-19 18:10:10 -07:00
b9abaa2055
Suppress null warning
2022-03-19 17:04:16 -07:00
948c6955ec
Edit obsolete tags, remove soon-to-be-unneeded extension methods
2022-03-19 14:53:53 -07:00
135a554bc5
Add migrations
2022-03-19 14:51:41 -07:00
faccd9b3aa
Preliminary EntityFramework support
2022-03-19 00:00:15 -07:00
d700cd8ce9
Implement block check within a precondition
...
With more preconditions in use, command logging has been modified to also be better able to respond to users in the event of an error. As a result, the bot is now able to respond to users and notify them properly if they fail any preconditions.
2022-03-11 22:11:18 -08:00
6c498045b3
Update precondition logic; make methods obsolete
...
The current way of loading database information makes things confusing and difficult to follow, particularly with retrieving guild data and its second parameter.
A much better alternative should be considered, and accessed by means of extension methods.
2022-03-10 19:30:28 -08:00
a58cedad88
Implement config commands
2022-03-10 14:09:15 -08:00
7abe03b70d
Move Data extensions to a more suitable area
2022-02-24 20:26:30 -08:00
d27663a20a
Add currently completed commands
2022-02-01 21:03:16 -08:00
67f78e068e
Edit logging message filters
...
Additionally, remove unneeded usings and update style and nullable in affected files
2021-11-21 13:21:42 -08:00
800bba2193
Add more information to check command
...
Additionally, fix up null checks in affected files
2021-10-24 18:15:46 -07:00
160152a0b4
Update style for data classes
2021-10-18 16:14:46 -07:00
651de4e78a
Configure all the awaits
2020-10-10 00:28:11 -07:00
fc9d611ba6
Add individual SQL options
2020-10-05 16:07:34 -07:00
8f84b09b21
Reduce amount of automatic processing
...
These changes make the bot skip over needlessly collecting information
for guilds in which it is unnecessary, in most cases guilds that have
invited the bot but have not yet invoked any bot command.
2020-07-22 19:43:45 -07:00
73fae41ac9
Automatically add pool config to database
2020-07-22 19:42:11 -07:00
581df48855
Add IsBotModerator method
...
Very similar to a previously existing method that was mistakenly removed.
2020-07-18 00:31:01 -07:00
488685bc79
Rewrite GuildUserConfiguration
...
Corresponding to GuildConfiguration, no longer assumes it is cached.
2020-07-16 13:29:50 -07:00
f71552c46d
Change Database to be a static class
2020-07-16 11:55:26 -07:00
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
aedc0f2ba7
Rename files
2020-07-16 11:50:12 -07:00
0bd9b79e50
Replace OperationStatus with test command
2020-07-14 11:59:14 -07:00
5d915f9ca0
Fix guild settings being stored incorrectly
2020-05-21 21:19:18 -07:00
0d93936bc8
Make corresponding changes from VB-based project
2020-05-19 19:15:54 -07:00
0b6f2c45a4
Add StaleDataCleaner and related changes
2020-04-10 00:20:47 -07:00
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