Commit Graph

279 Commits

Author SHA1 Message Date
Ean Milligan 1b2851353e move some files around, organize imports 2025-05-03 08:25:00 -04:00
Ean Milligan 07e76733ec some renames 2025-05-03 08:21:11 -04:00
Ean Milligan 8befcc1ca1 typing cleanup 2025-05-03 08:12:05 -04:00
Ean Milligan 9582d91ac1 fix imports on db files 2025-05-03 08:02:07 -04:00
Ean Milligan 03a2acc386 BIIIIIG change here: NESTED ROLLS :D
Also, start the reorganization of artigen to support nesting better, make smaller more readable files, and better named functions
2025-05-03 07:51:12 -04:00
Ean Milligan bdec5e7850 fix bruno docs 2025-05-02 14:12:22 -04:00
Ean Milligan a7856bc3f2 minor formatting change 2025-05-01 23:43:19 -04:00
Ean Milligan 2b579eb4ac break rollUtils into multiple files 2025-05-01 23:41:23 -04:00
Ean Milligan 730c441645 another rename for clearer stuff 2025-05-01 23:24:45 -04:00
Ean Milligan 7053c25719 reorganize worker management and queue management to be better 2025-05-01 23:19:08 -04:00
Ean Milligan 6ab0923d71 how did i never catch this, if prefix is not 2 characters it breaks, this allows it to be anything 2025-05-01 18:20:23 -04:00
Ean Milligan 7230a7e6b5 Apparently that import map affects deno run as well, fixed so bot runs now 2025-05-01 18:19:57 -04:00
Ean Milligan c981fe5664 [untested] - apply import order to artigen 2025-05-01 18:09:18 -04:00
Ean Milligan cb00147f6b [untested] whoops wasn't supposed to add that... 2025-05-01 18:01:54 -04:00
Ean Milligan f50dec29c7 [untested] - deno fmt 2025-05-01 18:01:23 -04:00
Ean Milligan 6e1c6e8db3 [untested] - start reorganizing the solver folder (renamed to artigen here), organize imports better since deno has support for it now 2025-05-01 17:56:06 -04:00
Ean Milligan b9c7fac984 add comma totals decorator 2025-04-29 18:02:51 -04:00
Ean Milligan 861d1e00cd deno fmt 2025-04-29 18:02:00 -04:00
Ean Milligan ed60f10d04 add guild size dist to audit guilds 2025-04-29 17:42:41 -04:00
Ean Milligan 047d41a20e support all one arg Math functions 2025-04-29 04:11:06 -04:00
Ean Milligan 57bde22e1a remove erroneous console.log 2025-04-29 04:10:52 -04:00
Ean Milligan 0250135c5f improve audit guilds, show counts of duplicate guild owners 2025-04-29 03:16:41 -04:00
Ean Milligan 15ecb45e65 add additional paren balance check 2025-04-29 02:41:31 -04:00
Ean Milligan ba51bd471c update auditGuilds to sort guilds by largest to smallest 2025-04-28 23:26:14 -04:00
Ean Milligan 8cf55aacf5 add time param to heatmap to try to prevent caching of the image on discord 2025-04-28 23:07:30 -04:00
Ean Milligan 3864cb91fc Add support for d% dice 2025-04-28 22:57:49 -04:00
Ean Milligan f44014c22a add query timing to stats command 2025-04-28 22:57:23 -04:00
Ean Milligan 1e350d4e2a force space between all results all the time, means we don't need the regex fixers 2025-04-28 20:28:26 -04:00
Ean Milligan bba4217bd7 make result auto pluralize 2025-04-28 19:50:54 -04:00
Ean Milligan 6b198ecb47 add new error to catch [[floor1_1d3]] and error out correctly 2025-04-28 19:36:54 -04:00
Ean Milligan ac8602f598 Add support for floor/abs/other math operators 2025-04-28 19:17:01 -04:00
Ean Milligan fd7bc5f152 indicate these vars are holding indexes 2025-04-28 03:04:42 -04:00
Ean Milligan 5b0de24466 add docs 2025-04-28 03:04:28 -04:00
Ean Milligan dcd49e20dd deno fmt 2025-04-28 03:04:14 -04:00
Ean Milligan e3dc7bc8b4 add docs for -min 2025-04-27 17:02:32 -04:00
Ean Milligan 4207021fa9 Add Min flag and add -max as option for max flag 2025-04-27 16:58:51 -04:00
Ean Milligan 5bef3878cc remove unstable flag 2025-04-27 16:31:55 -04:00
Ean Milligan 06095e3bdc Add loopCountCheck to maximizeRoll reroll shortcut 2025-04-27 04:58:54 -04:00
Ean Milligan 2f2a8f67e0 further improve roll safety, no doubling up on drop/keep 2025-04-27 04:46:02 -04:00
Ean Milligan e69806c443 Add additional safeties on rerolling, cleanse other numlists 2025-04-27 04:34:01 -04:00
Ean Milligan 73e4ca94b7 Swap indexOf to includes when indexOf was just being used to check if an item was in an array 2025-04-27 04:15:04 -04:00
Ean Milligan 2e2e08f48a Fix maximize with reroll turned on 2025-04-27 04:09:41 -04:00
Ean Milligan 105bc14e71 improve MaxLoopsExceeded error throwing to be separate func, add it to all loops in the roller. 2025-04-27 03:28:25 -04:00
Ean Milligan 5c517fad67 ensure die count and size are whole numbers 2025-04-27 01:26:30 -04:00
Ean Milligan ed80e08755 add commas to stats, prevent negative /hour nums 2025-04-27 00:47:04 -04:00
Ean Milligan 951d15fcf9 add sex 2025-04-26 23:59:22 -04:00
Ean Milligan 6afaf882fa fix pie 2025-04-26 23:55:30 -04:00
Ean Milligan 1d31a4f059 disable logging 2025-04-26 23:44:03 -04:00
Ean Milligan a42b75aa51 deno fmt 2025-04-26 23:42:43 -04:00
Ean Milligan f3a6a36fb0 update links to be driven by config, update strings to use bot name from config 2025-04-26 23:24:26 -04:00