Commit graph

81 commits

Author SHA1 Message Date
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
Noi
e6d48e7fa1 Port "most users downloaded" check from BirthdayBot 2022-01-04 14:48:10 -08:00
Noi
d75e69070c Add publish profile 2022-01-02 20:16:20 -08:00
Noi
bb6d5c5277 Update readme
Based heavily on Birthday Bot's readme. Discord Bots text will now mostly take from this.
2021-12-06 20:15:06 -08:00
Noi
88bdf8103e Update logging filters 2021-11-17 18:09:53 -08:00
Noi
ad756ae83b Add proactive selective auto user downloading
This amounts to being a workaround, as Discord.Net's option is still broken for large bots.
2021-11-17 18:09:53 -08:00
Noi
13e48c91b3 Rewrite to C#
This new code's structure and function is partially adapted from Birthday Bot and partially ported from the previous Python-based version of World Time.
This commit introduces very minor end-user changes and no new features.
2021-11-17 18:09:53 -08:00
Noi
32804aa9b2 Automatically rename 'Calcutta' to 'Kolkata' 2021-10-06 20:17:20 -07:00
Noi
660260b50f Rewrite about message 2021-10-06 20:16:52 -07:00
Noi
f2c0c2f52e Fix dependency info and bot page link 2021-10-06 20:16:07 -07:00
Noi
24aff9c892 Update help strings with a useful link 2021-04-22 13:21:15 -07:00
Noi
1cb159c64b Fix help status not visible on all shards 2021-04-22 13:01:23 -07:00
Noi
5e59acbacf Switch to intents 2021-04-22 12:20:30 -07:00
Noi
dbec6309a8 Update DM message; switch to AutoShardedClient 2020-05-02 11:44:28 -07:00
Noi
2441746d3b Fix lookup error on non-large guilds 2020-03-02 16:44:31 -08:00
Noi
2db1cd05ac Change parameterless tz.list 2020-03-01 14:47:51 -08:00
Noi
82f956f47a Fix incorrect user being fetched 2020-03-01 13:59:20 -08:00
Noi
d355cd9d8f Fix not finding user via ping 2020-03-01 13:55:29 -08:00
Noi
e1f8bf8b6e Change output format for tz.list single 2020-03-01 13:45:41 -08:00