Oliver-Akins
|
f1586efc9e
|
Move location of colon in field name
|
2021-08-29 15:14:05 -06:00 |
|
Oliver-Akins
|
a50c63b679
|
Refactor getQuote to return the Quote object
|
2021-08-29 14:56:29 -06:00 |
|
Oliver-Akins
|
fb0bdc779e
|
refactor the jump link production in order to have it use the link when we aren't creating a thread.
|
2021-08-28 23:47:28 -06:00 |
|
Oliver-Akins
|
d4100d0adc
|
refactor how the try_thread variable is created
|
2021-08-28 23:46:57 -06:00 |
|
Oliver-Akins
|
caf8ad7a5d
|
Correct README section title
|
2021-08-28 23:44:07 -06:00 |
|
Oliver-Akins
|
c771b8e16a
|
Update the README
|
2021-08-28 23:40:59 -06:00 |
|
Oliver-Akins
|
79418dcf32
|
refactor to use the new db schema
|
2021-08-28 22:58:27 -06:00 |
|
Oliver-Akins
|
cfb09349c9
|
convert to use the new DB schema
|
2021-08-28 22:56:06 -06:00 |
|
Oliver-Akins
|
06a5273f7c
|
refactor the vote variable to newVote
|
2021-08-28 22:54:43 -06:00 |
|
Oliver-Akins
|
527e7a2b37
|
Update the database schema to have a better quote structure
|
2021-08-28 22:53:34 -06:00 |
|
Oliver-Akins
|
3fc360054d
|
Initial version of a proper README
|
2021-08-13 22:44:49 -06:00 |
|
Oliver-Akins
|
9c800680cc
|
Add a template configuration
|
2021-08-13 22:44:34 -06:00 |
|
Oliver-Akins
|
58670ee12a
|
Change the service description to not reference Resonym directly
|
2021-08-13 21:59:46 -06:00 |
|
Oliver-Akins
|
49c1b848b6
|
Add the ability to have the tie alert go to a thread of the quote bracket message
|
2021-08-01 02:25:17 -06:00 |
|
Oliver-Akins
|
d8df5caa76
|
Add accepted params for executing a webhook with
|
2021-08-01 02:24:26 -06:00 |
|
Oliver-Akins
|
f66404518f
|
Update the per-guild config to have thread options
|
2021-08-01 02:20:02 -06:00 |
|
Oliver-Akins
|
3a03153d40
|
Bump Discord API version to support threads
|
2021-08-01 02:19:39 -06:00 |
|
Oliver-Akins
|
debf0c2a82
|
If the username is blank, assume the guild ID in the path is the username.
|
2021-07-26 23:36:59 -06:00 |
|
Oliver-Akins
|
18da6ddcc1
|
Fix error if the query parameter is not defined
|
2021-07-26 23:36:32 -06:00 |
|
Oliver-Akins
|
b2e121aa8e
|
Add an endpoint for viewing the guild bracket data through a GET request
|
2021-07-26 23:30:15 -06:00 |
|
Oliver-Akins
|
53a6e7f350
|
Fix error not being able to delete your vote when selecting index=0
|
2021-07-26 13:10:37 -06:00 |
|
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
|
1919008217
|
Specify that we only care about the src folder
|
2021-07-23 11:48:21 -06:00 |
|
Oliver-Akins
|
4c039d713f
|
Add Hapi's basic auth library
|
2021-07-23 11:48:07 -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 |
|