0
0
Fork 0
Commit graph

57 commits

Author SHA1 Message Date
Oliver-Akins
8ed5054d25 Tweak the config helper to pull from the environment variables instead of a file 2023-08-26 20:38:32 -06:00
Oliver-Akins
d815c8d557 Add a healthcheck endpoint 2023-08-26 20:37:46 -06:00
Oliver
21f08cecab
Reset the guessed letters when starting a new game 2023-08-03 08:56:42 -06:00
Oliver-Akins
aec13c1cee Improve response when the solution is correct 2023-03-03 17:07:28 -06:00
Oliver-Akins
e0ecd63712 Add log for new game 2023-03-03 17:02:26 -06:00
Oliver-Akins
31e5148e74 Add a missing space in response message 2023-03-03 16:59:22 -06:00
Oliver-Akins
627a0754fc Make the solve command work 2023-03-03 16:39:59 -06:00
Oliver-Akins
c6bd62504c Use the solution in the losing message 2023-03-03 16:21:43 -06:00
Oliver-Akins
b5aa2220e9 Add solution property return 2023-03-03 16:08:23 -06:00
Oliver-Akins
a9194fa956 Add jsdoc comments... 2023-02-24 10:47:20 -07:00
Oliver-Akins
9b26f60af0 Discord escape fix? 2023-02-24 09:43:34 -07:00
Oliver-Akins
d0e70ed687 Fix the Discord markdown escaping 2023-02-24 09:31:12 -07:00
Oliver-Akins
89d182ec9b Forgot to update the guess type, whoops 2023-02-24 09:16:51 -07:00
Oliver-Akins
d4519ba9b6 Update the command to actually work and respond properly 2023-02-24 09:14:01 -07:00
Oliver-Akins
7951484514 Update the command to parse the new return type and escape Discord markdown 2023-02-24 08:30:28 -07:00
Oliver-Akins
256bce6abc Change the return structure and store what the users have guessed already 2023-02-24 08:29:37 -07:00
Oliver-Akins
ba386e1247 Have the solve incrementation use the proper config option 2023-02-24 08:29:08 -07:00
Oliver-Akins
c84a298569 Make the system increment incorrect on a wrong guess 2023-02-24 08:28:28 -07:00
Oliver-Akins
853ffa9cbb Move all of the penalty options into their own object 2023-02-24 08:27:57 -07:00
Oliver-Akins
fc7b14fddc Add default DB property for guesses 2023-02-24 08:27:08 -07:00
Oliver-Akins
34726051ba Allow channel names more than 1 character long 2023-02-20 20:22:38 -07:00
Oliver-Akins
c255ab137c Allow channel owners to run mod-only subcommands 2023-02-20 20:22:21 -07:00
Oliver-Akins
70d7350474 Improve the guess payload validation schema 2023-02-20 20:22:06 -07:00
Oliver-Akins
1dc71eccae Add the solve subcommand to the docs 2023-02-20 20:21:50 -07:00
Oliver-Akins
57b0fc0b73 Add the resetChannel DB method 2023-02-20 19:59:11 -07:00
Oliver-Akins
50c110a008 Add the penalty config option for the solving action 2023-02-20 19:59:00 -07:00
Oliver-Akins
bde3f00ee4 Add solve subcommand 2023-02-20 19:58:09 -07:00
Oliver-Akins
ca92d9131a Begin working on support for solving the puzzle entirely 2023-02-20 19:57:58 -07:00
Oliver-Akins
29e7e2a297 Improve data validation for channel names 2023-02-20 19:57:37 -07:00
Oliver-Akins
adf3cdf771 Rename file 2023-02-20 18:16:31 -07:00
Oliver-Akins
2cdb407c69 Add Nightbot command documentation 2023-02-19 21:10:32 -07:00
Oliver-Akins
a639e7c1ae Fix endpoint response 2023-02-19 20:58:34 -07:00
Oliver-Akins
7ae0b42f3e Add a bit about the overlay themes into the README 2023-02-19 20:53:30 -07:00
Oliver-Akins
404206049d Gitkeep the site directory 2023-02-19 20:51:49 -07:00
Oliver-Akins
d1dbdd3356 Add nightbot's show subcommand 2023-02-19 20:46:16 -07:00
Oliver-Akins
a5dd1aac4e Add a method to view the game's current state without affecting it. 2023-02-19 20:45:58 -07:00
Oliver-Akins
444010e206 Add a clean recipe 2023-02-19 20:45:37 -07:00
Oliver-Akins
dddb1068be Integrate socket io into the server 2023-02-19 20:45:12 -07:00
Oliver-Akins
2ddb286efe Add file servers for the overlays 2023-02-19 20:42:06 -07:00
Oliver-Akins
57e4843976 Remove development ping endpoint 2023-02-19 20:41:49 -07:00
Oliver-Akins
60eaad47c6 Add socket.io as a dependency 2023-02-19 12:10:53 -07:00
Oliver-Akins
d23fa669e0 Remove file relativeTo handler to let that happen on a per-route basis 2023-02-19 12:10:29 -07:00
Oliver-Akins
d4ef5df468 Update the log statements to use tslog 2023-02-19 12:01:44 -07:00
Oliver-Akins
6261f19229 Make the README relevant to the project 2023-01-20 00:07:03 -06:00
Oliver-Akins
e94e64ddbc Update default config file 2023-01-20 00:01:33 -06:00
Oliver-Akins
2b75abde58 Implement the Nightbot command 2023-01-19 23:00:08 -06:00
Oliver-Akins
083e595d2a Add win state 2023-01-19 22:55:52 -06:00
Oliver-Akins
7d4120447a Remove log 2023-01-19 12:48:14 -06:00
Oliver-Akins
4281ff7a2f Improve spacing algorithm 2023-01-19 12:47:56 -06:00
Oliver-Akins
be44da10a6 Save DB on exit 2023-01-19 12:47:28 -06:00