Tags: ScootKit/CustomDCBot
Tags
V2 Release This is a new stable version which includes breaking changes and new features. Commits: * docs: Documented all functions in helpers.js * feat: Config reloading * feat: proper config reloading * feat: removed logging * docs: Added warning about botReady * style: added eslint * style: added github workflow eslint checker * style: github-workflow bug fix * style: github-workflow bug fix #2 * feat: added jsdocs docs generation * generated documentation * docs: Added better documentation * generated documentation * feat: added `client.logChannel` * fix: not returning promise when checking build-in-config * generated documentation * fix: .eslintrc.js contained wrong value * generated documentation * fix: `sendMultipleSiteButtonMessage` didn't work with just one site * feat: @-mentioning the user now serves as a prefix * docs: Updated CHANGELOG.md * style: fixed some things for eslint * fix: bot not responding to message with prefix * feat: `command.config.args` must now be an integer * feat: added bot-operators who can reload configuration (replacement for `config.ownerID`; use `command.config.restricted` to access it) * docs: Improved navigation in README.md * generated documentation * feat: Added cli * generated documentation * feat: cli now showing promt * docs: fixed some typos * style: not longer counting comments to max file length * feat: added slash-commands * generated documentation * docs: removed timestamp in footer to sop useless re-generation of documentation on push * generated documentation * fix: CLI-Files of modules not being loaded correctly * feat: show prompt when wrong command entered * fix: removed strings referring to migration-helper as it is not going to be implemented * docs: added rules for modules * docs: added another rule for modules * docs: updated changelog * docs: updated README.md * fix: config generation failed when folder didn't exist * feat: Added compareArrays to helpers.js * doc: Documented ephemeral parameter * fix: module dir does not exist * feat: better comparing if command sync is needed * feat: show error for users if the bot isn't ready yet * fix: Some build-in configuration not getting generated * fix(workflow): Pushing to main instead of dev branch * generated documentation * doc: 4D20 fixed link * generated documentation * fix: reload command not restricted * feat: added `client.guild` property * feat: show invite url if bot is not on server * fix: command syncing every time even if commands are up-to-date * fix: Objects values not compared correctly in `compareArrays` * feat: Slash-Command-Permissions * generated documentation * feat: Subcommands-Handling * feat: `beforeSubcommand` function added * doc: Made it clearer when `onLoad` really gets triggered * fix: commands sync before configuration loaded * feat: command.permissions and command.options can now be functions * fix: not finishing config check after file write required * fix: trying to execute sub commands on commands without subcommands * fix: ephemeral answers weren't ephemeral sometimes * tests: """fixed""" tests * feat: /reload now also syncs commands to make sure permissions are up-to-date * fix: bot crashing after trying to sendMultipleSiteButtonMessage with more than one site is triggered * generated documentation * fix: commands loaded before config checked * docs: Improved documentation for developers * fixed: wrong defaultPermission in some circumstances * fix: not executing permission function under some circumstances * generated documentation * fix: syncing commands when syncing is not required * fix: executing command.permissions function to late * style: fixed unexpected use of undefined * feat: added arrayToApplicationCommandPermissions to helpers.js * generated documentation * fix: crash when trying to get module author after command failure * fix: commands without subcommand-group would crash * feat: added updateChecker * generated documentation * fix: removed spaces from some logging outputs * fix: showing prompt after config got checked * feat: added admin-tools module * feat: added auto-publisher module * feat: added auto-react module * perf: using `string.replaceAll()` instead of `string.split().join()` (ES2021) * fix(auto-react): crashing under some circumstances * feat: added `client.intervals` to make the life of developers easier * feat: added betterstatus module * fix: docs not building * generated documentation * feat: added `client.jobs` to make the life of developers easier * fix: `command.beforeSubcommand` not getting executed even if set * tests: """fixed""" tests * feat: added birthday module * generated documentation * locale: fixed german string * fix(config-loading): resolving promise to early * feat: added giveaways * docs: fixed error * generated documentation * feat: added `randomIntFromInterval` to helpers.js * feat: added `randomElementFromArray` to helpers.js * fix: `allowNull` getting ignored * fix(auto-react): Bot not checking if ready * fix: missing space in log * feat: added levels module * generated documentation * feat(levels): Added leaderboardChannel * generated documentation * fix(levels): Not showing users in /leaderboard * feat: added partner-list module * generated documentation * docs: improved docs * generated documentation * docs: added more sponsor information * feat: added ping-on-vc-join module * generated documentation * fix: `/reload` trying to execute non-existing function * fix(sync-commands): syncing commands even if no syncing is needed * feat: added serverinfo module * style: fixed eslint test fail * generated documentation * fix: removed wrong early return * feat: added suggestions module * generated documentation * docs: added `configFile.content[].params[].fieldValue` for `select`-fields * feat: added welcomer module Closes #30 * docs: removed beta-warning Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Ole <78431813+jateute@users.noreply.github.com>