|
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 |
|
|
aaea8d0540
|
Add user property to the interaction member object
|
2021-09-20 02:11:53 +02:00 |
|
|
d975594d21
|
Add mention property to the interaction user object
|
2021-09-20 02:11:16 +02:00 |
|
|
2de6381f9d
|
Change type of Value in InteractionOption to JsonElement because it's unknown at deserialization time what type it will be
|
2021-09-20 02:10:28 +02:00 |
|
|
65bb7f6cac
|
Creat initial interaction command framework
|
2021-09-20 01:31:24 +02:00 |
|
|
60547140ea
|
Create all interaction models
|
2021-09-20 01:28:26 +02:00 |
|
|
209887e237
|
Add sentry support to the webapi
|
2021-09-19 16:19:40 +02:00 |
|
|
d81fb2a3d9
|
Add initial interaction support
|
2021-09-19 16:11:06 +02:00 |
|
|
85d06b76e0
|
Add --disable-gateway parameter to the run parameters to stop the bot from connecting to discord. Useful when working on the web-api
|
2021-09-19 16:06:11 +02:00 |
|
|
447c6d8042
|
Remove a database call from !quote by delegating the randomness to the database.
|
2021-09-19 00:58:00 +02:00 |
|
|
1b9d8732d5
|
Add tracing to the !quote embed builder
|
2021-09-19 00:57:10 +02:00 |
|
|
954c6c2be3
|
Remove Guild ID from the tracing tags
|
2021-09-17 15:55:13 +02:00 |
|
|
3d117aebe1
|
Split reply and quote embed building trace apart in !quote
|
2021-09-17 15:12:22 +02:00 |
|
|
0a9099a6d2
|
Move Sentry Init priority between the discord connection and dependency registration
|
2021-09-17 14:53:24 +02:00 |
|
|
d16828077d
|
Set Transaction Status to OK by default
|
2021-09-17 14:33:55 +02:00 |
|
|
a1f8d033c2
|
Use the TransactionModuleBase for all commands that haven't implemented GeekbotCommandBase
|
2021-09-17 14:31:24 +02:00 |
|
|
f02c30e660
|
Remove the mod command class
|
2021-09-17 14:30:50 +02:00 |
|