Commit Graph

126 Commits

Author SHA1 Message Date
Ean Milligan (Bastion) a994a81e89 nevermind on verbose I guess 2022-05-20 00:55:35 -04:00
Ean Milligan (Bastion) 551bfbbeaf ... 2022-05-20 00:51:59 -04:00
Ean Milligan (Bastion) 79da4e51da troubleshooting... 2022-05-20 00:49:28 -04:00
Ean Milligan (Bastion) 74337dcea4 actually fixed projectKey for sonar 2022-05-20 00:28:17 -04:00
Ean Milligan (Bastion) bf382d01ad Added embed generator for Counts, fixed projectKey for sonar 2022-05-20 00:27:27 -04:00
Ean Milligan 8454d3e189
Create sonarcloud.yml 2022-05-20 00:24:32 -04:00
Ean Milligan (Bastion) bf7a0aa5d2 Fix screwy embeds on mobile.
Why tf do embeds keep whitespace on mobile but not on desktop, no one will ever know.  Thanks for the consistency discord!
2022-05-19 23:14:41 -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) 394ae211df Set colors for all embeds 2022-05-18 05:03:24 -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) 26b9309aa3 Added more loop protection, started on exploding once/on range options 2022-05-17 01:41:53 -04:00
Ean Milligan (Bastion) febd735c05 removed roll docs from roller.ts file
This was redundant info found in the README and [[?? command.  There is no reason to have three copies of this,
2022-05-17 01:11:38 -04:00
Ean Milligan (Bastion) 0cafda573f Added Reroll Once option, which cannot be used with the standard reroll option 2022-05-17 01:09:01 -04:00
Ean Milligan (Bastion) 54a6a900d3 Add roll formatting documentation to readme 2022-05-17 00:39:38 -04:00
Ean Milligan (Bastion) cd549eca81 small formatting fix 2022-05-17 00:36:46 -04:00
Ean Milligan (Bastion) 32815146e8 small formatting fix 2022-05-17 00:36:20 -04:00
Ean Milligan (Bastion) 781092a24f Added GEQ/LEQ documentation to readme 2022-05-17 00:35:42 -04:00
Ean Milligan (Bastion) ddd091d572 Improved rollhelp cmd 2022-05-17 00:28:26 -04:00
Ean Milligan (Bastion) b18ff7dc68 Updated rollhelp to inclue QEG/LEQ option on reroll 2022-05-13 19:25:23 -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) 72b715b188 Added GEQ/LEQ option to reroll (similar to cs modifier) 2022-05-13 18:24:03 -04:00
Ean Milligan (Bastion) c8882bd500 added super no details api flag to docs 2022-05-10 00:26:00 -04:00
Ean Milligan (Bastion) 9b77912a85 Added super no details flag to the api 2022-05-09 19:52:15 -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) fade84a87b starting addition of [[api hide-warn 2022-05-09 11:08:19 -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) d422db9cc0 Readme format update 2022-05-05 03:49:47 -04:00
Ean Milligan (Bastion) 120532b630 Fixes issues around negative numbers 2022-05-05 03:39:22 -04:00
Ean Milligan (Bastion) 6a305d1479 added 𝜋 char support 2022-05-05 02:59:57 -04:00
Ean Milligan (Bastion) 6b2aae8dfb Update to use Log4Deno dep 2022-05-05 02:49:06 -04:00
Ean Milligan (Bastion) 50288534b6 roll flags renamed to decorators
Additional details also added to the privacy policy/terms of service to specify exactly what discord bot they apply to
2022-05-05 02:28:51 -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
Ean Milligan (Bastion) b076751bf2 Converted 90% of bot messages into Embeds
Bot messages will now be pretty :3
2021-11-22 01:11:10 -05:00
Ean Milligan (Bastion) 60188ca5d8 Initial work on V2.0.0
Updated dependencies and corrected syntax errors caused by the newer deps.
2021-11-21 22:14:57 -05:00
Ean Milligan (Bastion) 73288073b1 typo fix 2021-05-18 10:47:39 -04:00
Ean Milligan (Bastion) 4442571dd0 Documentation Update
This update to documentation was done to prepare for verification with Discord.
Added a mention of the Privacy Policy and Terms in the README.
Small update to the privacy policy, fixing a placeholder text I forgot about and detailing why data may be kept in accordance with GDPR.
Added a Terms of Service/User Agreement.
2021-05-18 10:46:37 -04:00
Ean Milligan (Bastion) 15864e7f6d V1.4.3 - Minor Update + Bugfixes
All files have received a handful of debug messages, this is to aid in finding the source of some recent crashes and to help find future issues
config.example.ts, */index.html, README.md - version number bump
utils.ts - Console will only get spammed by DEBUG level messages if artificer is in DEBUG mode.  DEBUG statements are still logged to file
solver.ts - actually set the original index on the rolls to allow drop/keep to reset the order correctly, change return text to use localPrefix and remove code blocks
mod.ts - breaks args on \n now, -o arg now allows full words instead of just o or a, error checking on file size to make sure the results always send and details send when possible
api.ts - added error checking on file size to make sure the results always send and details send when possible
2021-03-28 00:29:06 -04:00
Ean Milligan (Bastion) d449d1d85d utils.log implemented
Log files will now be created locally for easy debugging
api.ts, mod.ts, intervals.ts, solver.ts - replaced console.log with utils.log
mod.d.ts - made object syntax consistent
utils.enums.ts - Created LogTypes enum for utils.log
utils.ts - Created initLog and log for logging to files
2021-03-14 23:27:53 -04:00
Ean Milligan (Bastion) 0b5f44d18c Shortlink created
Replaced roll20 direct links with a shorter link that I can change if roll20 moves/removes this page
2021-03-13 15:33:21 -05:00
Ean Milligan (Bastion) b4d2d71873 Implemented botlist statistic updates
config.example.ts - added botlist object(s), adjusted emoji default values since the ID won't be the same for anyone who spins this up themselves
deps.ts - added botID
mod.ts - Added calling of new updateListStatistics for non-local bots
README.md - Added support invite link, fixed some tab vs spaces issues, added mention of development plans on the milestones pge, linked Deno and Discordeno
intervals.ts - Added updateListStatistics function
2021-03-13 15:10:35 -05:00
Ean Milligan 2a22dc7b04 Update issue templates 2021-02-22 17:25:09 -05:00