|
4d97201319
|
Set parameter default value to null instead of an empty string in the bot command lookup
|
2021-11-09 01:25:42 +01:00 |
|
|
9cfac1ad38
|
Remove the runtime identifier from the interactions project
|
2021-11-09 01:25:32 +01:00 |
|
|
9beef55979
|
Read the bot commands on startup and provide them to the /v1/commands endpoint
|
2021-11-09 00:53:09 +01:00 |
|
|
4f4e16d674
|
Add a way to lookup all bot commands in the bot assembly without using the commandService provided by discord.net
|
2021-11-09 00:51:37 +01:00 |
|
|
ae1b28ff77
|
Decouple the WebApi and the Bot and move the startup code into a new project
|
2021-11-09 00:49:46 +01:00 |
|
|
ee31e66e75
|
Fix the datetime issue when writing to the database for !cookie and the karma commands as well
|
2021-11-08 00:15:25 +01:00 |
|
|
c9af82015b
|
Fix !quote, use ToUniversalTime() on the timestamp saved to the database when saving a new quote
|
2021-11-08 00:02:12 +01:00 |
|
|
7d4a81dcde
|
Make sure all DateTimeOffsets that are written to the DB are in UTC
|
2021-11-07 02:52:35 +01:00 |
|
|
1a1d1406ec
|
Ignore compiler warning CS8618 in the Commands project
|
2021-11-07 00:50:53 +01:00 |
|
|
65d84c0ba6
|
Move CommandPreconditions into Geekbot.Bot
|
2021-11-07 00:38:57 +01:00 |
|
|
a460041c52
|
Move all interaction classes to its own project
|
2021-11-07 00:36:20 +01:00 |
|
|
54cbb00880
|
Upgrade EntityFramework to .net6-rc2
|
2021-11-07 00:32:32 +01:00 |
|
|
d0bc5810a9
|
Cleanup all interaction commands for .net6
|
2021-11-07 00:16:11 +01:00 |
|
|
47299dd1de
|
Refactor the ASP Logger to take advantage of new .net6 features
|
2021-11-07 00:15:15 +01:00 |
|
|
e01a066920
|
Refactor WebApi Controllers to take advantage of new .net6 features
|
2021-11-07 00:08:08 +01:00 |
|
|
6b3a3a9ec2
|
Rewrite the WebApi startup to take advantage of new .net6 features
|
2021-11-07 00:02:26 +01:00 |
|
|
4395d9e9dd
|
Port the karma commands to / commands
|
2021-11-06 19:08:42 +01:00 |
|
|
6d39c2d33f
|
Add primitive GetAvatarUrl function to a resolved interaction user
|
2021-11-06 19:07:28 +01:00 |
|
|
31f12a4110
|
Add command type level to interaction command dictionary
|
2021-11-06 18:20:16 +01:00 |
|
|
eb648b94d9
|
Make Embed Types Deserializable
|
2021-11-06 18:18:09 +01:00 |
|
|
fe1063167f
|
Set default embed color to DimGray
|
2021-11-06 18:17:44 +01:00 |
|
|
866c28b76b
|
Move embed building logic for !urban into the shared command code
|
2021-11-06 16:53:37 +01:00 |
|
|
10b29cce8a
|
Add function to convert Geekbot Embeds to Discord.Net Embeds for easier code sharing
|
2021-11-06 16:52:49 +01:00 |
|
|
34f15402b4
|
Port !urban to a / command
|
2021-11-06 16:23:50 +01:00 |
|
|
ea17ce2866
|
Add helper classes to simplify embed creation for interactions
|
2021-11-06 16:17:22 +01:00 |
|
|
c15a66255f
|
Fail if a user tries to execute a non-existing command, instead of letting them know that the command doesn't exist
|
2021-11-05 17:46:08 +01:00 |
|
|
e74aeb1403
|
Add simple response function to the InteractionBase to reduce the InteractionResponse copying
|
2021-11-05 17:45:11 +01:00 |
|
|
5a520ff567
|
Pass interaction data into all InteractionBase hooks
|
2021-11-02 21:57:01 +01:00 |
|
|
01df35b12b
|
Capture interaction exceptions in sentry
|
2021-11-02 21:56:40 +01:00 |
|
|
44ae2eeaf6
|
Update sentry SDK to v3.11.0
|
2021-11-02 21:54:47 +01:00 |
|
|
8c2eabfd21
|
Fully remove the dependency on Newtonsoft.Json
|
2021-11-01 01:27:04 +01:00 |
|
|
cf0cd743b8
|
Get rid of Newtonsoft.Json everywhere but the HTTP abstractions
|
2021-11-01 01:04:20 +01:00 |
|
|
7b06965f14
|
Switch from Newtonsoft.Json to System.Text.Json in the logger
|
2021-11-01 00:34:50 +01:00 |
|
|
6f94de5a14
|
Reduce ulong to long casts in the roll command
|
2021-11-01 00:16:42 +01:00 |
|
|
616ac5e430
|
Use structs instead of enums for interaction option names
|
2021-10-31 23:50:48 +01:00 |
|
|
913ea23732
|
Remove OptionChoice type inheritors in favour of just supporting strings as values
|
2021-10-31 23:23:02 +01:00 |
|
|
e20faa43e1
|
Port rank for slash commands
|
2021-10-31 23:21:15 +01:00 |
|
|
772557978b
|
Set guild language when executing interaction
|
2021-10-31 22:33:31 +01:00 |
|
|
177c773451
|
Remove the discord socket client dependency from the webapi
|
2021-10-31 20:22:42 +01:00 |
|
|
29a2e5c4a2
|
Don't go into an infinite await when stopping the app if the webapi is running
|
2021-10-31 20:18:27 +01:00 |
|
|
78c139293f
|
Move the roll command logic into the shared commands project
|
2021-10-31 20:16:56 +01:00 |
|
|
89ea6df6e2
|
Move Localizations into core
|
2021-10-31 20:15:08 +01:00 |
|
|
29e22acbc0
|
Move the RollTimeout record to the shared commands project
|
2021-10-30 15:48:28 +02:00 |
|
|
dd941f5f94
|
Add new project to share command logic between gateway and slash commands
|
2021-10-30 15:47:54 +02:00 |
|
|
588c93b87d
|
Check the users previous roll in the /roll command
|
2021-10-30 14:47:56 +02:00 |
|
|
a1893c7414
|
Add DI support for interaction commands
|
2021-10-30 14:46:23 +02:00 |
|
|
24749d9009
|
Add and use interaction command hooks for BeforeExecute, AfterExecute, OnException and GetExceptionResponse
|
2021-10-30 14:43:57 +02:00 |
|
|
9a2bf84a05
|
Add applicationId/guildId mapping to the interaction registrar
|
2021-09-20 02:23:44 +02:00 |
|
|
d2b9daac57
|
Add roll interaction
|
2021-09-20 02:14:25 +02:00 |
|
|
d17ca4c556
|
Pass entire Interaction object to interaction commands, instead of just the data
|
2021-09-20 02:12:57 +02:00 |
|