diff --git a/README.md b/README.md index c701062..c3fd374 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# The Artificer - A Dice Rolling Discord Bot | V4.1.1 - 2025/08/05 +# The Artificer - A Dice Rolling Discord Bot | V4.1.2 - 2025/08/06 [![SonarCloud](https://sonarcloud.io/images/project_badges/sonarcloud-orange.svg)](https://sonarcloud.io/summary/new_code?id=TheArtificer) [![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=TheArtificer&metric=sqale_rating)](https://sonarcloud.io/summary/new_code?id=TheArtificer) [![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=TheArtificer&metric=security_rating)](https://sonarcloud.io/summary/new_code?id=TheArtificer) [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=TheArtificer&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=TheArtificer) [![Bugs](https://sonarcloud.io/api/project_badges/measure?project=TheArtificer&metric=bugs)](https://sonarcloud.io/summary/new_code?id=TheArtificer) [![Duplicated Lines (%)](https://sonarcloud.io/api/project_badges/measure?project=TheArtificer&metric=duplicated_lines_density)](https://sonarcloud.io/summary/new_code?id=TheArtificer) [![Lines of Code](https://sonarcloud.io/api/project_badges/measure?project=TheArtificer&metric=ncloc)](https://sonarcloud.io/summary/new_code?id=TheArtificer) diff --git a/config.example.ts b/config.example.ts index 91e6f90..c6048b8 100644 --- a/config.example.ts +++ b/config.example.ts @@ -1,7 +1,7 @@ export const config = { name: 'The Artificer', // Name of the bot maxFileSize: 8_388_290, // Max file size bot can send - version: '4.1.1', // Version of the bot + version: '4.1.2', // Version of the bot token: 'the_bot_token', // Discord API Token for this bot localtoken: 'local_testing_token', // Discord API Token for a secondary OPTIONAL testing bot, THIS MUST BE DIFFERENT FROM "token" prefix: '[[', // Prefix for all commands @@ -16,7 +16,7 @@ export const config = { guild: 1_000, // Allows guilds to have 1000 aliased rolls for free }, }, - maxLoops: 1_000_000, // Determines how long the bot will attempt a roll, number of loops before it kills a roll. Increase this at your own risk. + maxLoops: 2_000_000, // Determines how long the bot will attempt a roll, number of loops before it kills a roll. Increase this at your own risk. maxWorkers: 16, // Maximum number of worker threads to spawn at once (Set this to less than the number of threads your CPU has, Artificer will eat it all if too many rolls happen at once) workerTimeout: 300_000, // Maximum time before the bot kills a worker thread in ms defaultSimulatedNominal: 10_000, // Default number of loops to run for simulating a nominal