Commit Graph
41 Commits
Author SHA1 Message Date
ereti b59b6707c0 fix: ci 2022-12-14 05:08:01 +00:00
zkldi 7584e406cd fix: revert "remove redundant versions" for bot and server
we use these to tag docker images. my bad.
2022-12-03 03:13:49 +00:00
ereti 1af9942147 feat: the monorepo man 2022-12-01 21:10:23 +00:00
zkldi b78d400c3b fix: also add tsconfig-paths as bot dep 2022-11-27 17:38:54 +00:00
zkldi 6f6fa6b0ac fix: bot depends on ts-node 2022-11-27 17:29:38 +00:00
zkldi db6a3e1b82 fix: remove redundant versions 2022-11-26 22:49:28 +00:00
zkldi 99a2b15115 fix: maybe make bot work 2022-11-12 01:13:10 +00:00
zkldi 9239365c16 fix(ci): completely refactor how bot ci works 2022-10-22 15:54:55 +01:00
zkldi aa13f17105 feat: make typescript a bot dependency (it wasn't) 2022-10-22 15:39:54 +01:00
zkldi 0e36b17827 fix(critical): Pin prudence to an exact version
This is a long one.

So, `instanceof` in Typescript is incredibly flimsy. There's a
documented bug with what happens when you extend built-in classes, such
as Error or Array. You can read more about it here: https://github.com/Microsoft/TypeScript/wiki/FAQ#why-doesnt-extending-built-ins-like-error-array-and-map-work

However, this normally works fine. A previous commit moved some schemas
from server/ to common/, our gameSpecific UGPT settings schemas. This
caused them to break in an interesting way. For any schema recursive
with a depth greater than 1, all errors would be ignored. Why on earth
was this happening?

Well Prudence passes errors up the stack with a "return Err" -> "if
ret instanceof Err: return Err" kind of approach. This normally works
fine.

The real kicker here is that because server/ and common/ were on 0.9.7
and 0.9.8 respectively, the "Err" instance in question would actually be
erased when ran at runtime. The "if ret instance of Err" would fail,
because the Err would be from 0.9.7, not 0.9.8. This subtle difference
in file results in catastrophic damage.

In short. InstanceOf is a footgun. I hate it. Lets never do it again.
Thanks.
2022-10-14 01:09:31 +01:00
zkldi 503ad5da05 feat: add seq support to the discord bot 2022-08-16 23:26:58 +01:00
zkldi 231117bd2e refactor: trim unused bot deps 2022-07-17 20:02:45 +01:00
zkldi caf0b2e9d5 feat: dependency management is hell and you are all going to it 2022-07-15 19:56:39 +01:00
zkldi d1dcffb6de refactor: apply cadence to bot and make it compile 2022-07-04 02:16:10 +01:00
zkldi 1e8e334ca0 refactor: force parent common dependencies 2022-07-04 02:15:43 +01:00
zkldi 096ae6d793 Despite the name, this isn't a dev dependency. 2022-03-25 04:01:55 +00:00
zkldi adac4e55c8 Massive chart_pb improvements 2022-03-22 15:35:52 +00:00
zkldi ddcc643818 Add full webhook support 2022-03-21 21:49:07 +00:00
zkldi 7286884051 Add a bunch more useful commands. 2022-03-21 19:12:22 +00:00
zkldi 7ef8c04d14 Add some basic commands. 2022-03-21 03:25:50 +00:00
zkldi 522df91408 Fully working barebones infrastructure. 2022-03-21 01:05:38 +00:00
zkldi 3ab53ae06f More stream-of-consciousness commits 2022-03-18 17:11:58 +00:00
zkldi 1830701ea9 Apply tachi formatting rules to this repository 2022-03-18 16:55:02 +00:00
Pfych 7711998782 Force users to link tachi account 2022-03-18 16:20:51 +00:00
zkldi bbaeeb372f Update everything to latest. 2022-03-18 16:17:19 +00:00
Pfych d6118de14e [WIP] Added boilerplate for profile view 2021-09-15 19:40:53 +10:00
Noah Heague 16faf0a089 Merged main & fixed global issue 2021-09-11 12:57:27 +10:00
zkldi a21c8fe04f Add new packages for server stuffs. 2021-09-05 11:02:28 +01:00
Noah Heague a303ebd254 Merge branch 'add-dotenv-support' into split-guild-and-global 2021-09-05 16:43:47 +10:00
Noah Heague 8dc88026f3 Merged prettier 2021-09-05 16:41:10 +10:00
Noah Heague 336b09c574 Prettier 2021-09-05 16:36:57 +10:00
Noah Heague e31def121e Fix env cross file and setup slash commands based on PROD/DEV 2021-09-05 16:07:11 +10:00
Noah Heague 74c824684b Merged main 2021-09-05 15:47:20 +10:00
Noah Heague fb0c07ffb4 Merged in dotenv changes 2021-09-05 15:40:00 +10:00
Noah Heague 6e13ae6a00 Removed babel and added correct type defs 2021-09-05 15:09:56 +10:00
Noah Heague 27f3214f2a Added .env file support as well as a script to generate it 2021-09-05 14:57:26 +10:00
Noah Heague 703e61f13f Incorrect license 2021-09-05 13:36:11 +10:00
Noah Heague cc9557cf75 Stripped repo down to bare minimum 2021-09-05 13:34:56 +10:00
Noah Heague 3699856b6b Stripped repo down to bare minimum 2021-09-05 13:32:28 +10:00
Noah Heague be9854f423 Added basic slash command for help 2021-08-20 20:50:09 +10:00
Noah Heague 50710265f4 Init MVP 2021-08-15 17:33:59 +10:00