Commit Graph

42 Commits

Author SHA1 Message Date
Ean Milligan 5d1d39bebf move artigen embeds into artigen's utils folder 2025-05-05 14:08:54 -04:00
Ean Milligan 897fe80533 comments 2025-05-03 22:30:43 -04:00
Ean Milligan 0b864b0f21 removed [[r shorthand from report command, add [[r and [[roll as aliases to the roll command 2025-05-03 22:02:15 -04:00
Ean Milligan 65a182cb50 deno fmt 2025-05-03 21:03:30 -04:00
Ean Milligan 9a5574f91e move utils around 2025-05-03 20:58:18 -04:00
Ean Milligan f2797e6c33 update common embed location, move some back into their own files 2025-05-03 20:47:58 -04:00
Ean Milligan 829ec0ecea move getModifiers into artigen, simplify its error handling a lot 2025-05-03 09:54:25 -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 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 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 864f281c60 Mass spelling fix 2025-04-26 23:08:57 -04:00
Ean Milligan 1069b99091 start fixing apiRoll 2025-04-26 14:49:11 -04:00
Ean Milligan c7c974c395 deno fmt 2025-04-26 13:23:37 -04:00
Ean Milligan 76e007e2e4 update db structure to let init work correctly 2025-04-26 13:22:45 -04:00
Ean Milligan (Bastion) 7b03f3140e V2.0.3 - Fix multiline input 2022-07-09 17:02:22 -04:00
Ean Milligan (Bastion) b69cf2060f Create roll heatmap table and sproc, add dailyRate to command_cnt table 2022-06-25 02:09:41 -04:00
Ean Milligan (Bastion) 011120845e created callIncCnt function for simplicity 2022-06-24 21:32:18 -04:00
Ean Milligan (Bastion) d769ac0e5a added db error message log, added edit message log 2022-06-24 20:52:56 -04:00
Ean Milligan (Bastion) 021f33fc38 Started moving common log messages to one spot 2022-06-22 21:43:57 -04:00
Ean Milligan (Bastion) df8c31d6d3 API updated to user rollWorker for rolling, fixed api not working at all lol 2022-06-20 20:55:12 -04:00
Ean Milligan (Bastion) a0dae3416f Preparing rollQueue to handle api Rolls 2022-06-20 19:18:23 -04:00
Ean Milligan (Bastion) 170c089fe9 deno fmt 2022-06-20 17:37:45 -04:00
Ean Milligan (Bastion) 71e1d42f68 rollQueue reorg 2022-06-20 17:35:00 -04:00
Ean Milligan (Bastion) 60e13cbd51 Moar Sonar Cleanup 2022-06-19 01:57:10 -04:00
Ean Milligan (Bastion) bb10d52506 Implemented queueing system for rollWorker to limit number of concurrent workers
Moved some consts to the config.ts file
Added flag to disable logging while rolling for a massive speed increase and to increase stability of the bot
2022-06-19 01:51:16 -04:00
Ean Milligan (Bastion) db1e55b415 Sonar Fix 2022-05-28 03:49:24 -04:00
Ean Milligan (Bastion) da00caaa74 deno fmt 2022-05-28 03:41:33 -04:00
Ean Milligan (Bastion) 1f4d1e3ef6 Added rollWorker so that multiple dice rolls can happen simultaneously 2022-05-28 03:37:11 -04:00
Ean Milligan (Bastion) b7f9fc852a reorder deps so comments are correct 2022-05-28 00:48:34 -04:00
Ean Milligan (Bastion) 6cfe98e954 deno fmt + rework api subcommands to be a switch statement 2022-05-28 00:09:09 -04:00
Ean Milligan (Bastion) 17c8e0c599 constantCmds rewrite, moved single-use text nodes to their individual command files 2022-05-27 21:59:23 -04:00
Ean Milligan (Bastion) b887b93bb2 Roll command now utilizes embeds, count decorator (-c) complete, added [[api h shorthand 2022-05-27 20:59:09 -04:00
Ean Milligan (Bastion) 5e84b1c0b4 added deno.json, ran deno fmt to standardize formatting 2022-05-20 04:43:22 -04:00
Ean Milligan (Bastion) a270a4b8f7 Started work on adding count decorator 2022-05-19 02:53:30 -04:00
Ean Milligan (Bastion) 337b266456 Continued reorg, broke solver down into parts for better readability 2022-05-06 23:20:04 -04:00
Ean Milligan (Bastion) 15e8f847c5 Add super no details decorator 2022-05-06 00:10:21 -04:00
Ean Milligan (Bastion) 6b2aae8dfb Update to use Log4Deno dep 2022-05-05 02:49:06 -04:00
Ean Milligan (Bastion) d2083bea53 converted all substr to substring 2022-05-05 01:51:05 -04:00
Ean Milligan (Bastion) 541747285f Minor adjustments
report command now requires a description
moved an insert query that was duplicated many times to new constant in the db.ts import
improved error reporting on roll modifiers, they now are fancy EMBEDS!
2022-05-05 01:46:47 -04:00
Ean Milligan (Bastion) 84768293c1 Code cleanup
Improved readability of command code by breaking each function into their own files, breaking down the api command, and starting to break down the roll command

Dep versions also updated, dbClient implemented as its own import, and constantCmds/README updated to improve readability
2022-05-05 00:57:34 -04:00