0
0
Fork 0
Commit graph

44 commits

Author SHA1 Message Date
Oliver-Akins
0fb3eb521c Update dropdown to actually detect the person's old vote. 2021-07-23 20:57:04 -06:00
Oliver-Akins
c63d1ea58b Pass the credentials to the endpoint 2021-07-23 20:32:00 -06:00
Oliver-Akins
e602fb1bd2 Add the channel ID of the message to the bracket data 2021-07-23 20:31:44 -06:00
Oliver-Akins
aba1e2d736 Fix the winners endpoint to work correctly. 2021-07-23 20:31:26 -06:00
Oliver-Akins
845aa7c1ae Add auth to the server injection and adjust channel ID storage 2021-07-23 20:31:08 -06:00
Oliver-Akins
1819bd993e Add auth to the server injections 2021-07-23 20:30:37 -06:00
Oliver-Akins
f73790a570 Update isTied endpoint to return data rather than nothing on success 2021-07-23 13:54:40 -06:00
Oliver-Akins
f168eea621 Update interaction handlers to work with the new DB structure 2021-07-23 13:27:46 -06:00
Oliver-Akins
ea782af9d9 Update to use the data functions 2021-07-23 13:27:33 -06:00
Oliver-Akins
278abb3c02 Add DB operations for used quotes and history. 2021-07-23 13:27:12 -06:00
Oliver-Akins
4da7cb9b0a Update all the endpoints to work with the new DB structure 2021-07-23 13:22:57 -06:00
Oliver-Akins
1c9d01ea22 Change the authentication to use the custom auth password on any path that starts with /discord/auth in order to also catch the callback instead of having infinite password prompt looping 2021-07-23 13:22:18 -06:00
Oliver-Akins
62981bd390 Add bracket data for resetting the bracket 2021-07-23 13:21:32 -06:00
Oliver-Akins
4f75202428 Add an interface for the bracket history 2021-07-23 13:21:11 -06:00
Oliver-Akins
8355d68a64 Edit the union type for deletion methods 2021-07-23 12:48:38 -06:00
Oliver-Akins
2f63b8d635 Add methods for disabling the old quote bracket 2021-07-23 12:48:04 -06:00
Oliver-Akins
0d158babe2 Move the callback rejection before creating the webhook 2021-07-23 12:13:08 -06:00
Oliver-Akins
8dd58b81c5 Get guild ID from the callback URL instead, allow me to not have to create the webhook in order to get the ID and then have to delete it if it isn't allowed to be created. 2021-07-23 12:12:19 -06:00
Oliver-Akins
eef056fe59 Modify the constants 2021-07-23 11:48:45 -06:00
Oliver-Akins
8a119767be Modify database save/load location 2021-07-23 11:47:44 -06:00
Oliver-Akins
51a9783b5d Add basic authentication to the API 2021-07-23 11:47:05 -06:00
Oliver-Akins
be470cda9e Restructure database to have per-guild data 2021-07-22 12:56:24 -06:00
Oliver-Akins
0cc34a1517 Edit config structure to have per-guild configuring 2021-07-22 12:56:06 -06:00
Oliver-Akins
cc68fd3d72 Add support for per-guild database setup 2021-07-22 12:54:54 -06:00
Oliver-Akins
3b7a44e133 Add a unique message for when someone selects the same vote in the dropdown that they are already voting for 2021-07-19 15:44:09 -06:00
Oliver-Akins
b30e8deb68 Make it so all quotes aren't marked as winners in the brackets 2021-07-19 15:41:21 -06:00
Oliver-Akins
7534cfb4e9 Catch the signals that are needed from systemd as well 2021-07-19 11:20:46 -06:00
Oliver-Akins
8b9d2cc80c Add an endpoint to check to see if there's a tie, and if so alert Discord 2021-07-19 01:08:10 -06:00
Oliver-Akins
cdc5ed5cf6 Check the all-elimination clause in the create bracket 2021-07-19 01:07:52 -06:00
Oliver-Akins
3eb482e313 Remove debug statements 2021-07-18 01:57:57 -06:00
Oliver-Akins
3d9feabe88 Add code to make the stuff work 2021-07-18 01:18:18 -06:00
Oliver-Akins
5daaabe536 Reset files 2021-07-11 20:16:12 -06:00
Oliver-Akins
c1bdebe0b8 Change domain from tyler to oliver 2021-04-05 18:55:30 -06:00
Tyler-A
05f0d27e8d Prevent error with the quote results from happening 2020-04-26 14:07:30 -06:00
Tyler-A
7ca9304f01 Add link to results in embed 2020-04-23 20:38:02 -06:00
Tyler-A
b3c124284e Remove log statements 2020-04-23 20:30:50 -06:00
Tyler-A
fb54a12238 Add type for the bracket results 2020-04-23 20:09:32 -06:00
Tyler-A
331461987d Rename config file 2020-04-23 20:08:27 -06:00
Tyler-A
e810e1a621 Remove logging and unused function from TS 2020-04-23 20:08:12 -06:00
Tyler-A
58307fdd4c Add system to output HTML 2020-04-23 20:07:07 -06:00
Tyler-A
804e7c7bec Add a result webhook push for being able to log the result in a Discord channel. 2020-04-21 21:50:18 -06:00
Tyler-A
b288cbb1f8 Actually update the used quotes DB 2020-04-20 15:56:59 -06:00
Tyler-A
d33f37473f Fix decoding string 2020-04-20 15:49:08 -06:00
Tyler-A
f34b4f2cb3 Add functional code 2020-04-20 15:48:01 -06:00