Commit Graph

31 Commits

Author SHA1 Message Date
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) 7391a0fd68 deno fmt 2022-05-28 02:07:23 -04:00
Ean Milligan (Bastion) a01b8b8fd2 Added Audit system, Guild auditing put on hold 2022-05-28 02:07:00 -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) aa97a1514c Sonar Cleanup - Phase 5 2022-05-22 16:59:40 -04:00
Ean Milligan (Bastion) 891a36a9ba Sonar Cleanup - Phase 1 2022-05-22 15:29:59 -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) 04d7324769 deduplicated some code in the getModifiers func 2022-05-18 05:12:04 -04:00
Ean Milligan (Bastion) 733908f2c0 Added !o !<>= and !o<>=, updated embeds to be more consistent, started coloring embeds 2022-05-18 04:48:52 -04:00
Ean Milligan (Bastion) 5b27abbba9 Added @mention command to learn about the bot 2022-05-13 18:57:45 -04:00
Ean Milligan (Bastion) eba7e028b2 Finalized hide-warn command 2022-05-09 19:18:49 -04:00
Ean Milligan (x1g5) 88faa27278 Added hideWarn cmd file with template code 2022-05-09 17:43:15 -04:00
Ean Milligan (x1g5) 0d1ef83f50 DB design update to support per channel configuration for the api 2022-05-09 17:25:59 -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) 06df068ac2 Added calculating stats message to stats command 2022-05-05 23:08:30 -04:00
Ean Milligan (Bastion) 6b2aae8dfb Update to use Log4Deno dep 2022-05-05 02:49:06 -04:00
Ean Milligan (Bastion) 23c16f7832 Optimized emoji command, made all command responsess more dynamic
Emoji command should be significantly more optimized by rejecting non-emojis much faster
Bot will now respond with the prefix/postfix set in the config instead of assuming the prefix/postfix are always [[/]]
2022-05-05 02:19:19 -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) ce77893d37 Use new dbClient import in the db init files 2022-05-05 01:03:28 -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