Commit graph

99 commits

Author SHA1 Message Date
Noi
4ed5640bc1 Escape special characters from display name 2023-09-09 10:53:05 -07:00
Noi
aa3907466c Support new username format 2023-09-09 10:42:08 -07:00
Noi
2861b579b4
Merge pull request #21 from NoiTheCat/dev/graceful-shutdown
Better handling of program shutdown
2023-06-24 16:08:35 -07:00
Noi
8c605feb6f
Merge pull request #22 from NoiTheCat/fix/mexico-tz-update
Update NodaTime to 3.1.9 (fixes #20)
2023-06-14 09:04:59 -07:00
Noi
9ddb40d136 Update NodaTime to 3.1.9 (fixes #20) 2023-06-11 19:17:28 -07:00
Noi
271ff0d3eb Better handling of program shutdown
It now knows what a SIGTERM is.
Additionally, made some small tweaks to the file's structure
and removed some unnecessary details.
2023-06-11 19:09:04 -07:00
Noi
fdd77a6f2f
Merge pull request #19 from NoiTheCat/docs-rewrite
Rewrite Readme; create documentation website
2023-03-09 12:36:11 -08:00
Noi
6db38dea20
Update copyright date / contact email 2023-02-19 10:22:11 -08:00
Noi
bb07e202f3 Exclude page from .NET build 2023-01-23 19:56:00 -08:00
Noi
1a40708eb4 Small rewrites to page 2023-01-23 19:40:33 -08:00
Noi
e64d7a39df Rewrote index 2023-01-22 19:31:34 -08:00
Noi
45c2c5f4a6 Add project-centric readme 2023-01-22 18:50:19 -08:00
Noi
d32fb9f017 First commit; Jekyll-based documentation page 2023-01-22 18:26:03 -08:00
Noi
52cc4eadd4
Merge pull request #18 from NoiTheCat/dev
Due to some poor time management, rough memory about what already got done, and all around general busy-ness, some changes within this branch had already been running live for at least a month without making it into the main branch.

From current main to 2.2.0:
* Console timestamps now show local time
* Measures to prevent misconfigurations from messing with slash command registrations
* Small but profound changes to how bot configuration is loaded, particularly with regard to SQL

From 2.2.0 to 2.3.0:
* Reorganize files, introduce "config" top level command group
* Finally(!) add 12-hour formatting (closes #2)
* Use the new Discord permissions model, removing our clumsy custom precondition
2023-01-21 22:18:29 -08:00
Noi
a01aa15277 Bump version; update dependencies 2023-01-14 22:05:31 -08:00
Noi
c8de71854b Remove custom precondition; use Discord permissions 2023-01-14 21:54:23 -08:00
Noi
09ba9644dc Add 12-hour time format (implements #2) 2023-01-14 21:43:55 -08:00
Noi
7a7bc097e8 Explicit config path in args 2023-01-14 20:55:21 -08:00
Noi
362d288424 Move commands into subdirectory, create base class
Base class created with potentially common properties from existing class
2023-01-14 17:50:51 -08:00
Noi
e872ba36df Update dependencies 2022-12-30 22:07:21 -08:00
Noi
7c0c22a194 Merge branch 'main' into dev 2022-12-30 22:04:45 -08:00
Noi
8f9a541c50 Update dependencies, bump version 2022-08-31 21:23:28 -07:00
Noi
a3bc998f48
Merge pull request #13 from NoiTheCat/textcmdwarning
Remove text commands
2022-08-31 20:00:07 -07:00
Noi
7f43605a7f Add user list fetch background task 2022-08-30 19:34:41 -07:00
Noi
92d23217b9 Remove text-based commands 2022-08-30 19:33:28 -07:00
Noi
5891cdfe03 Add warning for deprecated commands 2022-08-30 19:33:28 -07:00
Noi
f8bc9a8227 Bump version 2022-08-09 18:43:55 -07:00
Noi
eb7e3948cd Sanity checking to command registration 2022-08-09 18:40:14 -07:00
Noi
b595e701c4 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 18:40:14 -07:00
Noi
53b20db3eb Clean up logging 2022-08-09 18:40:14 -07:00
Noi
01b784bc85 Switch logging to local time 2022-08-09 18:40:14 -07:00
Noi
1b1c6720bb Update libraries and version 2022-06-29 21:56:28 -07:00
Noi
6ceb995bbe
Merge pull request #11 from NoiTheCat/efcore
Switch to Entity Framework Core
2022-06-29 21:53:40 -07:00
Noi
478b39f268 Implement new database methods in existing code 2022-06-28 21:46:58 -07:00
Noi
4db6eb71e7
Merge pull request #10 from NoiTheCat/removelastseen
Remove 'last seen' filtering in list display, closes #7
2022-06-28 21:22:30 -07:00
Noi
191ac13355 Remove last active value
Recent activity is no longer required for users to be shown on listings.
2022-06-28 18:07:02 -07:00
Noi
745fba06ab Switch to Entity Framework
Turned existing database setup into a migration, and all helper methods
were moved to the new class for easy migration to the new system.
2022-06-28 17:27:31 -07:00
Noi
5edc7ce9ab Remove 'last seen' filtering in list display, closes #7 2022-06-20 17:52:50 -07:00
Noi
3fb4647d29
Merge pull request #9 from NoiTheCat/dev/interactionframework
Switch commands to interaction framework
2022-06-20 17:21:59 -07:00
Noi
4819a6e82a Remove VS files 2022-06-20 17:17:24 -07:00
Noi
3d0f11a2cf Fix incorrect user check on set-for 2022-06-20 17:16:02 -07:00
Noi
6da3933eb8 Add vscode files 2022-06-20 17:15:12 -07:00
Noi
7df718a4f4 Upgrade packages, downgrade Discord.Net to 3.5.0
Downgrade is due to a bug that prevents non-admin access to all slash commands by default
2022-05-15 21:17:26 -07:00
Noi
b9e05b37f9 Pull up CommandsCommon into CommandsText 2022-05-06 21:42:17 -07:00
Noi
f8d5aef4aa Switch to Interaction Framework for slash commands 2022-05-06 21:38:36 -07:00
Noi
9f49e73540 Fix logging; change status message 2022-03-19 11:57:40 -07:00
Noi
12c421ef17 Implement slash commands
Functionality between existing text and new slash commands have been reimplemented, with common functionality between both methods moved to a common base class.
This may see another rewrite later to make use of the library's interactions framework.
2022-01-28 20:30:43 -08:00
Noi
5fcc36ab10 Remove extra logging 2022-01-13 18:16:21 -08:00
Noi
d06955bf12 Auto shard count 2022-01-04 15:00:09 -08:00
Noi
5e02946502 Update dependencies 2022-01-04 14:48:35 -08:00