Commit graph

191 commits

Author SHA1 Message Date
414dbae62f
Moved interview templates to own table
This splits them into different entries making it possible to separately edit different ones at the same time.
2024-12-27 01:54:28 +13:00
24defe0128
Remove some unnecessary variables 2024-12-27 01:39:46 +13:00
2db90a44c7
Made log level tags right-aligned 2024-12-27 01:35:11 +13:00
769643a292
Fixed check for if ticket is already in destination category 2024-12-27 01:31:19 +13:00
f0e48cc2ab
Improved error detection when moving a ticket to a different category 2024-12-27 01:29:32 +13:00
3feaf50b59
Move ratelimit warning log to debug 2024-12-27 01:26:48 +13:00
8bf14fcd05
Fix interview errors not getting removed when interview is finished 2024-12-27 01:24:42 +13:00
f5852dae29
Added more detailed logging to log channel 2024-12-27 01:21:37 +13:00
b2c6478458
More cleanup 2024-12-27 01:04:20 +13:00
e7547b749d
Update dependencies 2024-12-27 01:00:09 +13:00
a534ceac69
Minor cleanup 2024-12-27 00:50:33 +13:00
93446ca30d
Slight update 2024-12-27 00:47:23 +13:00
4f265f44e2
Minor cleanup 2024-12-27 00:38:35 +13:00
6ec63eb7a7
Remove todos 2024-12-27 00:32:34 +13:00
3d2d987dfe
Add config entries for interviews 2024-12-26 23:47:55 +13:00
b02aacadd6
Small refactoring 2024-12-26 23:38:59 +13:00
729e84fdce
Switch to always reading interviews directly from database 2024-12-26 23:33:32 +13:00
b2113695f8
Added support for multiple paths in mention selectors
Not sure how this could actually be useful but no reason to lock it down really.
2024-12-26 23:27:36 +13:00
14724c054e
Add selector descriptions 2024-12-26 23:25:11 +13:00
414ace3dcc
Added extra validation for templates 2024-12-26 23:23:25 +13:00
2553ad5c69
Added selector placeholders to template 2024-12-26 22:24:42 +13:00
f03473ba14
Add all other discord selector types 2024-12-26 20:51:41 +13:00
f1ce93ae86
Fixed restart interview command not being ephemeral 2024-12-26 20:48:50 +13:00
e2494c73d4
Add command to restart interviews 2024-12-26 20:47:07 +13:00
d9fcef449a
Get templates from database every time a new interview is started to avoid issues with the templates being passed by reference and then modified accidentally 2024-12-26 20:38:17 +13:00
1ced350789
Added optional properties to interview questions 2024-12-26 20:32:34 +13:00
a8d7440a7a
Add error handling for buttons and selectors 2024-12-26 20:30:56 +13:00
91991c10f2
Added support for END_WITHOUT_SUMMARY and ERROR question types 2024-12-26 20:28:39 +13:00
ebd279da45
Improved error handling in interview database functions 2024-12-26 20:24:32 +13:00
839ec527df
Made interview command responses ephemeral 2024-12-26 20:22:05 +13:00
f9fbc5990c
Some cleanup 2024-12-26 20:18:07 +13:00
280d18c80b
Added selection box support 2024-12-26 20:16:18 +13:00
32776826ba
Created functioning interview system PoC 2024-12-26 20:12:50 +13:00
327f4d6de6
Moved button and selector logic for new tickets to event handler 2024-12-26 20:04:47 +13:00
d212f13b12
Add commands to update interview templates 2024-12-26 19:50:47 +13:00
e87208d8bd
Slight update 2024-12-26 19:37:56 +13:00
233fd3278b
Some updated logging colours 2024-12-26 19:26:54 +13:00
9ef4364a13
Added option to pin the first ticket message 2024-12-26 19:25:08 +13:00
4f716dbbc9
Switched from mention to category name in move command 2024-12-26 19:01:20 +13:00
03497a28f8
Catch not found exceptions 2024-12-26 18:57:41 +13:00
d70c2ae0d2
Added custom logger 2024-12-26 18:41:36 +13:00
5c75e1fa7d
Updated to latest 5.0.0 nightly build of DSharpPlus
Still needs a new logger implementation and some new exception handling.
2024-12-26 18:36:20 +13:00
f89d50c982
Remove custom status, not supported in this version of D#+ 2024-12-26 18:09:13 +13:00
ce836a465f
Added database functions for interviews 2024-12-26 18:07:36 +13:00
c34a396c78
Split if statement for more clarity 2024-12-26 18:01:10 +13:00
3a94de9f23
Fix disabling ticket limit using 0 2024-12-26 17:57:58 +13:00
7f13161853
Started interview system PoC 2024-12-26 17:55:00 +13:00
32f5518891
Added utility function to get DiscordColor from string 2024-12-26 17:46:21 +13:00
3296fa98d1
Added pagination to say list 2024-10-29 23:17:44 +13:00
8af3e0a2f4
Added reason to close command 2024-10-29 23:14:47 +13:00