A bot template using discord.js

Overview

discord.js-bot-template

Overview

CodeFactor License: MIT

This is a bot template using discord.js for quickly and easily creating powerful Discord bots. You don't need much Javascript experience to get started on a project using this template. Not sure where to start? Come join my Discord Server, where I'll try and answer all the questions you have.

With Message Content Access becoming a privileged intent I thought I'd build a template where you're pretty much ready to start working on commands after installing it. This template currently doesn't listen to the messageCreate event. Update Slash Commands by using the /deploy command or altering the environmental variables.


Features

Complete Notes
Built-in Slash Commands Message Content Access is becoming a privileged intent and that's why this template focuses on Discord's Interaction Commands. In fact, we don't even activily listen to the messageCreate event.
Event Listener This template comes with an event listener that doesn't use the depracated .bind() method.
Permissions This template handles user permission level, required command permissions and additional configurable client & user permissions.
Auto complete Discord's API auto complete is showcased in the /help command and /src/listeners/interaction/autoCompleteInteraction.js file.
Developer Friendly This template has detailed information available in the files themselves, allowing new developer's to jump right in and get started on commands.
Testing Friendly Configure your command to be global or test server only. Allowing you to test properly, and finally make it available globally.
Throttling Configure command cooldowns for all your commands. Allow infinite usages for a command that barely does anything, and restrict resource-heavy commands to 1 usage in 120 seconds.
Permission Configure a required permission level for your commands. Also configure any additional required Discord Permissions for the client/bot and the member calling the command. Very useful for moderation functionality.
Global disable & enable Found a major bug in one of your commands? Disable it in your slash configuration export and the Slash Command will automatically be disabled, be it global or test server.
NSFW channel restrictions Configure whether or not your command is SFW and automatically restrict it to NSFW channels if it's not.
Utility file This template comes with a /src/util.js file which exports utility functions which will make your everyday tasks a lot easier.
Extensions Both the client and member objects have extended properties. member.permLevel is available in all Interaction listeners. Client has multiple extensions which are containerized: client.container. ->commands, config, emoji, colors
Command Nesting This template supports and encourages deep command and command-category nesting
Incomplete Notes
Add support for DM commands At the time of writing this, Slash Commands can be called in a bots DM channel. I'd like to add full support for DM Slash Commands.

Installation

Requirements

  • Node/NodeJS - Be sure to check the box that says "Automatically install the necessary tools" when you're running the installation wizard

1) Head over to the download page

2) Download either the zip or zip.gz source code

3) Extract it using your favorite zip tool

4) Open the folder containing your recently extracted files

5) Open a console/terminal/shell prompt in this directory

  • Run npm i --include-dev to install all dependencies

ALL CONFIGURATION IS DONE IN THE /config/ FOLDER

6) Copy and paste .env.example from config/, and rename it to .env located in config/.env

  • Provide all your configuration values in this file
  • Also provide the values in config/config.json

7) Use node . to start the application or npm run start:dev if you have nodemon installed for automatic restarts on changes

Comments
  • Bump eslint from 8.28.0 to 8.29.0

    Bump eslint from 8.28.0 to 8.29.0

    Bumps eslint from 8.28.0 to 8.29.0.

    Release notes

    Sourced from eslint's releases.

    v8.29.0

    Features

    • 49a07c5 feat: add allowParensAfterCommentPattern option to no-extra-parens (#16561) (Nitin Kumar)
    • e6a865d feat: prefer-named-capture-group add suggestions (#16544) (Josh Goldberg)
    • a91332b feat: In no-invalid-regexp validate flags also for non-literal patterns (#16583) (trosos)

    Documentation

    • 0311d81 docs: Configuring Plugins page intro, page tweaks, and rename (#16534) (Ben Perlmutter)
    • 57089b1 docs: add a property assignment example for camelcase rule (#16605) (Milos Djermanovic)
    • b6ab030 docs: add docs codeowners (#16601) (Strek)
    • 6380c87 docs: fix sitemap and feed (#16592) (Milos Djermanovic)
    • ade621d docs: perf debounce the search query (#16586) (Shanmughapriyan S)
    • fbcf3ab docs: fix searchbar clear button (#16585) (Shanmughapriyan S)
    • f894035 docs: HTTPS link to yeoman.io (#16582) (Christian Oliff)
    • de12b26 docs: Update configuration file pages (#16509) (Ben Perlmutter)
    • 1ae9f20 docs: update correct code examples for no-extra-parens rule (#16560) (Nitin Kumar)

    Chores

    • 7628403 chore: add discord channel link (#16590) (Amaresh S M)
    • f5808cb chore: fix rule doc headers check (#16564) (Milos Djermanovic)
    Changelog

    Sourced from eslint's changelog.

    v8.29.0 - December 2, 2022

    • 0311d81 docs: Configuring Plugins page intro, page tweaks, and rename (#16534) (Ben Perlmutter)
    • 57089b1 docs: add a property assignment example for camelcase rule (#16605) (Milos Djermanovic)
    • b6ab030 docs: add docs codeowners (#16601) (Strek)
    • 7628403 chore: add discord channel link (#16590) (Amaresh S M)
    • 49a07c5 feat: add allowParensAfterCommentPattern option to no-extra-parens (#16561) (Nitin Kumar)
    • 6380c87 docs: fix sitemap and feed (#16592) (Milos Djermanovic)
    • e6a865d feat: prefer-named-capture-group add suggestions (#16544) (Josh Goldberg)
    • ade621d docs: perf debounce the search query (#16586) (Shanmughapriyan S)
    • a91332b feat: In no-invalid-regexp validate flags also for non-literal patterns (#16583) (trosos)
    • fbcf3ab docs: fix searchbar clear button (#16585) (Shanmughapriyan S)
    • f894035 docs: HTTPS link to yeoman.io (#16582) (Christian Oliff)
    • de12b26 docs: Update configuration file pages (#16509) (Ben Perlmutter)
    • f5808cb chore: fix rule doc headers check (#16564) (Milos Djermanovic)
    • 1ae9f20 docs: update correct code examples for no-extra-parens rule (#16560) (Nitin Kumar)
    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
  • Bump discord.js from 14.6.0 to 14.7.0

    Bump discord.js from 14.6.0 to 14.7.0

    Bumps discord.js from 14.6.0 to 14.7.0.

    Release notes

    Sourced from discord.js's releases.

    14.7.0

    Bug Fixes

    • MessageMentions: Add InGuild generic (#8828) (f982803)
    • Activity: Fix equals() not checking for differing emoji (#8841) (7e06f68)
    • Fixed react/astro/guide/discord.js build, updated dependencies, fix crawlvatar (#8861) (d0c8256)
    • escapeMarkdown: Fix double escaping (#8798) (d6873b7)
    • Transfomers: Call .toJSON in toSnakeCase (#8790) (017f9b1)
    • Censor token in debug output (#8764) (53d8e87)
    • Pin @​types/node version (9d8179c)

    Documentation

    Features

    Refactor

    • Embed: Use embedLength function from builders (#8735) (cb3826c)
    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
  • Bump body-parser from 1.20.0 to 1.20.1

    Bump body-parser from 1.20.0 to 1.20.1

    Bumps body-parser from 1.20.0 to 1.20.1.

    Changelog

    Sourced from body-parser's changelog.

    1.20.1 / 2022-10-06

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
  • Bump eslint from 8.23.0 to 8.24.0

    Bump eslint from 8.23.0 to 8.24.0

    Bumps eslint from 8.23.0 to 8.24.0.

    Release notes

    Sourced from eslint's releases.

    v8.24.0

    Features

    • 1729f9e feat: account for sourceType: "commonjs" in the strict rule (#16308) (Milos Djermanovic)
    • b0d72c9 feat: add rule logical-assignment-operators (#16102) (fnx)
    • f02bcd9 feat: array-callback-return support findLast and findLastIndex (#16314) (Sosuke Suzuki)

    Documentation

    • 2c152ff docs: note false positive Object.getOwnPropertyNames in prefer-reflect (#16317) (AnnAngela)
    • bf7bd88 docs: fix warn severity description for new config files (#16324) (Nitin Kumar)
    • 8cc0bbe docs: use more clean link syntax (#16309) (Percy Ma)
    • 6ba269e docs: fix typo (#16288) (jjangga0214)

    Chores

    • 131e646 chore: Upgrade @​humanwhocodes/config-array for perf (#16339) (Nicholas C. Zakas)
    • 504fe59 perf: switch from object spread to Object.assign when merging globals (#16311) (Milos Djermanovic)

    v8.23.1

    Bug Fixes

    • b719893 fix: Upgrade eslintrc to stop redefining plugins (#16297) (Brandon Mills)
    • 734b54e fix: improve autofix for the prefer-const rule (#16292) (Nitin Kumar)
    • 6a923ff fix: Ensure that glob patterns are normalized (#16287) (Nicholas C. Zakas)
    • c6900f8 fix: Ensure globbing doesn't include subdirectories (#16272) (Nicholas C. Zakas)

    Documentation

    • 16cba3f docs: fix mobile double tap issue (#16293) (Sam Chen)
    • e098b5f docs: keyboard control to search results (#16222) (Shanmughapriyan S)
    • 1b5b2a7 docs: add Consolas font and prioritize resource loading (#16225) (Amaresh S M)
    • 1ae8236 docs: copy & use main package version in docs on release (#16252) (Jugal Thakkar)
    • 279f0af docs: Improve id-denylist documentation (#16223) (Mert Ciflikli)

    Chores

    Changelog

    Sourced from eslint's changelog.

    v8.24.0 - September 23, 2022

    • 131e646 chore: Upgrade @​humanwhocodes/config-array for perf (#16339) (Nicholas C. Zakas)
    • 2c152ff docs: note false positive Object.getOwnPropertyNames in prefer-reflect (#16317) (AnnAngela)
    • bf7bd88 docs: fix warn severity description for new config files (#16324) (Nitin Kumar)
    • 504fe59 perf: switch from object spread to Object.assign when merging globals (#16311) (Milos Djermanovic)
    • 1729f9e feat: account for sourceType: "commonjs" in the strict rule (#16308) (Milos Djermanovic)
    • b0d72c9 feat: add rule logical-assignment-operators (#16102) (fnx)
    • f02bcd9 feat: array-callback-return support findLast and findLastIndex (#16314) (Sosuke Suzuki)
    • 8cc0bbe docs: use more clean link syntax (#16309) (Percy Ma)
    • 6ba269e docs: fix typo (#16288) (jjangga0214)

    v8.23.1 - September 12, 2022

    • b719893 fix: Upgrade eslintrc to stop redefining plugins (#16297) (Brandon Mills)
    • 734b54e fix: improve autofix for the prefer-const rule (#16292) (Nitin Kumar)
    • 6a923ff fix: Ensure that glob patterns are normalized (#16287) (Nicholas C. Zakas)
    • 38e8171 perf: migrate rbTree to js-sdsl (#16267) (Zilong Yao)
    • 16cba3f docs: fix mobile double tap issue (#16293) (Sam Chen)
    • c6900f8 fix: Ensure globbing doesn't include subdirectories (#16272) (Nicholas C. Zakas)
    • e098b5f docs: keyboard control to search results (#16222) (Shanmughapriyan S)
    • 1b5b2a7 docs: add Consolas font and prioritize resource loading (#16225) (Amaresh S M)
    • 1c388fb chore: switch nyc to c8 (#16263) (唯然)
    • 67db10c chore: enable linting .eleventy.js again (#16274) (Milos Djermanovic)
    • 1ae8236 docs: copy & use main package version in docs on release (#16252) (Jugal Thakkar)
    • 42bfbd7 chore: fix npm run perf crashes (#16258) (唯然)
    • 279f0af docs: Improve id-denylist documentation (#16223) (Mert Ciflikli)
    Commits
    • a578780 8.24.0
    • f2cfacd Build: changelog update for 8.24.0
    • 131e646 chore: Upgrade @​humanwhocodes/config-array for perf (#16339)
    • 2c152ff docs: note false positive Object.getOwnPropertyNames in prefer-reflect (#16...
    • bf7bd88 docs: fix warn severity description for new config files (#16324)
    • 504fe59 perf: switch from object spread to Object.assign when merging globals (#16311)
    • 1729f9e feat: account for sourceType: "commonjs" in the strict rule (#16308)
    • b0d72c9 feat: add rule logical-assignment-operators (#16102)
    • f02bcd9 feat: array-callback-return support findLast and findLastIndex (#16314)
    • 8cc0bbe docs: use more clean link syntax (#16309)
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
  • Bump discord.js from 14.3.0 to 14.5.0

    Bump discord.js from 14.3.0 to 14.5.0

    Bumps discord.js from 14.3.0 to 14.5.0.

    Release notes

    Sourced from discord.js's releases.

    14.5.0

    Bug Fixes

    • ThreadChannel: Add forum channel to parent (#8664) (0126d9b)
    • GuildChannelManager: Allow creating webhooks on forums (#8661) (16fcdc3)
    • ForumChannel: Implement missing properties and methods (#8662) (8622939)
    • RepliableInteraction respect cached generic (#8667) (578bc95)
    • ThreadChannel: Allow editing flags (#8671) (1244854)
    • GuildChannelManager: Typo in flags property name when editing (#8669) (fc8ed81)

    Documentation

    Features

    • GuildChannelManager: Allow editing flags (#8637) (abb7226)

    Refactor

    • GuildBanManager: Add deprecation warning for deleteMessageDays (#8659) (e993122)

    Typings

    • GuildChannelManager: Handle forum channel overload (#8660) (1486bc9)
    • Caches: Allow GuildForumThreadManager and GuildTextThreadManager (#8665) (2487e3b)

    14.4.0

    Bug Fixes

    • Correct applied tags type (#8641) (f6f15d8)
    • ThreadChannel: Make fetchStarterMessage() work in forum posts (#8638) (a7f816e)
    • Update messageCount/totalMessageSent on message events (#8635) (145eb2f)
    • Footer / sidebar / deprecation alert (ba3e0ed)

    Documentation

    Features

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
  • Bump @discordjs/rest from 1.1.0 to 1.2.0

    Bump @discordjs/rest from 1.1.0 to 1.2.0

    Bumps @discordjs/rest from 1.1.0 to 1.2.0.

    Release notes

    Sourced from @​discordjs/rest's releases.

    @​discordjs/rest@​1.2.0

    Bug Fixes

    • Footer / sidebar / deprecation alert (ba3e0ed)

    Documentation

    Features

    • rest: Use Agent with higher connect timeout (#8679) (64cd53c)
    Commits
    • c69f512 chore(rest): release @​discordjs/rest@​1.2.0
    • 4a07f9e chore: deps
    • 64cd53c feat(rest): use Agent with higher connect timeout (#8679)
    • d79aa2d docs: fix duplicate typedefs (#8677)
    • 822b7f2 types(Collection): make fn return type unknown (#8676)
    • 8ca407e docs(ForumChannel): Add @implements (#8678)
    • 0126d9b fix(ThreadChannel): Add forum channel to parent (#8664)
    • e993122 refactor(GuildBanManager): Add deprecation warning for deleteMessageDays (#...
    • 1486bc9 types(GuildChannelManager): Handle forum channel overload (#8660)
    • 16fcdc3 fix(GuildChannelManager): allow creating webhooks on forums (#8661)
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
  • Bump discord.js from 14.3.0 to 14.4.0

    Bump discord.js from 14.3.0 to 14.4.0

    Bumps discord.js from 14.3.0 to 14.4.0.

    Release notes

    Sourced from discord.js's releases.

    14.4.0

    Bug Fixes

    • Correct applied tags type (#8641) (f6f15d8)
    • ThreadChannel: Make fetchStarterMessage() work in forum posts (#8638) (a7f816e)
    • Update messageCount/totalMessageSent on message events (#8635) (145eb2f)
    • Footer / sidebar / deprecation alert (ba3e0ed)

    Documentation

    Features

    Refactor

    Typings

    • Narrow channel type in thread managers (#8640) (14bbc91)
    • interactions: Pass Cached type to return type of methods (#8619) (053da5b)
    • Ensure events possess Client<true> (#8612) (a9f003a)
    • GuildChannelManager: Correct fetch return type (#8549) (1d4cdee)
    • ThreadChannel: fetchStarterMessage must return a Message<true> (#8560) (b9c62ac)
    • webhook: Avatar can be null (#8541) (f77612a)
    Commits
    • 0b12d6f chore(discord.js): release discord.js 14.4.0
    • b106956 feat(Widget): Allow forum channels (#8645)
    • 6f1f465 feat(WelcomeChannel): Add forum channel as a type (#8643)
    • eb98372 chore: fix proxy-container Dockerfile (#8648)
    • 5048a3d feat: Allow forum channels in webhook update event (#8646)
    • f049734 docs: Correctly overwrite setRTCRegion method (#8642)
    • f6f15d8 fix: Correct applied tags type (#8641)
    • 14bbc91 types: Narrow channel type in thread managers (#8640)
    • a7f816e fix(ThreadChannel): Make fetchStarterMessage() work in forum posts (#8638)
    • 802b239 docs(GuildTextThreadManager): Document correct @extend (#8639)
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
  • Bump eslint from 8.23.0 to 8.23.1

    Bump eslint from 8.23.0 to 8.23.1

    Bumps eslint from 8.23.0 to 8.23.1.

    Release notes

    Sourced from eslint's releases.

    v8.23.1

    Bug Fixes

    • b719893 fix: Upgrade eslintrc to stop redefining plugins (#16297) (Brandon Mills)
    • 734b54e fix: improve autofix for the prefer-const rule (#16292) (Nitin Kumar)
    • 6a923ff fix: Ensure that glob patterns are normalized (#16287) (Nicholas C. Zakas)
    • c6900f8 fix: Ensure globbing doesn't include subdirectories (#16272) (Nicholas C. Zakas)

    Documentation

    • 16cba3f docs: fix mobile double tap issue (#16293) (Sam Chen)
    • e098b5f docs: keyboard control to search results (#16222) (Shanmughapriyan S)
    • 1b5b2a7 docs: add Consolas font and prioritize resource loading (#16225) (Amaresh S M)
    • 1ae8236 docs: copy & use main package version in docs on release (#16252) (Jugal Thakkar)
    • 279f0af docs: Improve id-denylist documentation (#16223) (Mert Ciflikli)

    Chores

    Changelog

    Sourced from eslint's changelog.

    v8.23.1 - September 12, 2022

    • b719893 fix: Upgrade eslintrc to stop redefining plugins (#16297) (Brandon Mills)
    • 734b54e fix: improve autofix for the prefer-const rule (#16292) (Nitin Kumar)
    • 6a923ff fix: Ensure that glob patterns are normalized (#16287) (Nicholas C. Zakas)
    • 38e8171 perf: migrate rbTree to js-sdsl (#16267) (Zilong Yao)
    • 16cba3f docs: fix mobile double tap issue (#16293) (Sam Chen)
    • c6900f8 fix: Ensure globbing doesn't include subdirectories (#16272) (Nicholas C. Zakas)
    • e098b5f docs: keyboard control to search results (#16222) (Shanmughapriyan S)
    • 1b5b2a7 docs: add Consolas font and prioritize resource loading (#16225) (Amaresh S M)
    • 1c388fb chore: switch nyc to c8 (#16263) (唯然)
    • 67db10c chore: enable linting .eleventy.js again (#16274) (Milos Djermanovic)
    • 1ae8236 docs: copy & use main package version in docs on release (#16252) (Jugal Thakkar)
    • 42bfbd7 chore: fix npm run perf crashes (#16258) (唯然)
    • 279f0af docs: Improve id-denylist documentation (#16223) (Mert Ciflikli)
    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
  • feat: ComponentCommand `isUserComponent` option

    feat: ComponentCommand `isUserComponent` option

    Is your feature request related to a problem? Please describe. ComponentCommand doesn't have a configurable option to determine if a component is meant for the user who initiated it, or available globally to everyone

    Describe the solution you'd like Add a configurable option to allow this functionality.

    Describe alternatives you've considered

    Additional context

    /**
     * @typedef {BaseConfig} ComponentCommandConfig
     * @property {boolean} [isUserComponent = true] If true, the component is only available to the user who initiated it. If false, everyone can interact with the component
     */
    
    /**
     * @extends {CommandBase}
     */
    class ComponentCommand extends CommandBase {
      constructor (config) {
        super(config);
        /**
         * @property {boolean} global If true, the component is only available to the user who initiated it. If false, everyone can interact with the component
         */
        this.isUserComponent = 'isUserComponent' in config ? config.isUserComponent : true;
      }
    }
    

    And in interactionCreate.js:

    // Check if the Component Command is meant for the member initiating it
      if (
        ( interaction.isButton()
        || interaction.isStringSelectMenu()
        || interaction.isMessageComponent() )
        && clientCmd.isUserComponent === true
      ) {
        const componentIsForMember = hasAccessToComponentCommand(interaction);
        if (!componentIsForMember) {
          interaction.reply({
            content: `${emojis.error} ${member}, this message component isn't meant for you.`,
            ephemeral: true
          });
          return;
        }
      }
    
    enhancement good first issue 
    opened by Mirasaki 0
  • Bump eslint from 8.30.0 to 8.31.0

    Bump eslint from 8.30.0 to 8.31.0

    Bumps eslint from 8.30.0 to 8.31.0.

    Release notes

    Sourced from eslint's releases.

    v8.31.0

    Features

    • 52c7c73 feat: check assignment patterns in no-underscore-dangle (#16693) (Milos Djermanovic)
    • b401cde feat: add options to check destructuring in no-underscore-dangle (#16006) (Morten Kaltoft)
    • 30d0daf feat: group properties with values in parentheses in key-spacing (#16677) (Francesco Trotta)

    Bug Fixes

    • 35439f1 fix: correct syntax error in prefer-arrow-callback autofix (#16722) (Francesco Trotta)
    • 87b2470 fix: new instance of FlatESLint should load latest config file version (#16608) (Milos Djermanovic)

    Documentation

    • 4339dc4 docs: Update README (GitHub Actions Bot)
    • 4e4049c docs: optimize code block structure (#16669) (Sam Chen)
    • 54a7ade docs: do not escape code blocks of formatters examples (#16719) (Sam Chen)
    • e5ecfef docs: Add function call example for no-undefined (#16712) (Elliot Huffman)
    • a3262f0 docs: Add mastodon link (#16638) (Amaresh S M)
    • a14ccf9 docs: clarify files property (#16709) (Sam Chen)
    • 3b29eb1 docs: fix npm link (#16710) (Abdullah Osama)
    • a638673 docs: fix search bar focus on Esc (#16700) (Shanmughapriyan S)
    • f62b722 docs: country flag missing in windows (#16698) (Shanmughapriyan S)
    • 4d27ec6 docs: display zh-hans in the docs language switcher (#16686) (Percy Ma)
    • 8bda20e docs: remove manually maintained anchors (#16685) (Percy Ma)
    • b68440f docs: User Guide Getting Started expansion (#16596) (Ben Perlmutter)

    Chores

    • 65d4e24 chore: Upgrade @​eslint/eslintrc@​1.4.1 (#16729) (Brandon Mills)
    • 8d93081 chore: fix CI failure (#16721) (Sam Chen)
    • 8f17247 chore: Set up automatic updating of README (#16717) (Nicholas C. Zakas)
    • 4cd87cb ci: bump actions/stale from 6 to 7 (#16713) (dependabot[bot])
    • fd20c75 chore: sort package.json scripts in alphabetical order (#16705) (Darius Dzien)
    • 10a5c78 chore: update ignore patterns in eslint.config.js (#16678) (Milos Djermanovic)
    Changelog

    Sourced from eslint's changelog.

    v8.31.0 - December 31, 2022

    • 65d4e24 chore: Upgrade @​eslint/eslintrc@​1.4.1 (#16729) (Brandon Mills)
    • 35439f1 fix: correct syntax error in prefer-arrow-callback autofix (#16722) (Francesco Trotta)
    • 87b2470 fix: new instance of FlatESLint should load latest config file version (#16608) (Milos Djermanovic)
    • 8d93081 chore: fix CI failure (#16721) (Sam Chen)
    • 4339dc4 docs: Update README (GitHub Actions Bot)
    • 8f17247 chore: Set up automatic updating of README (#16717) (Nicholas C. Zakas)
    • 4e4049c docs: optimize code block structure (#16669) (Sam Chen)
    • 54a7ade docs: do not escape code blocks of formatters examples (#16719) (Sam Chen)
    • 52c7c73 feat: check assignment patterns in no-underscore-dangle (#16693) (Milos Djermanovic)
    • e5ecfef docs: Add function call example for no-undefined (#16712) (Elliot Huffman)
    • a3262f0 docs: Add mastodon link (#16638) (Amaresh S M)
    • 4cd87cb ci: bump actions/stale from 6 to 7 (#16713) (dependabot[bot])
    • a14ccf9 docs: clarify files property (#16709) (Sam Chen)
    • 3b29eb1 docs: fix npm link (#16710) (Abdullah Osama)
    • fd20c75 chore: sort package.json scripts in alphabetical order (#16705) (Darius Dzien)
    • a638673 docs: fix search bar focus on Esc (#16700) (Shanmughapriyan S)
    • f62b722 docs: country flag missing in windows (#16698) (Shanmughapriyan S)
    • 4d27ec6 docs: display zh-hans in the docs language switcher (#16686) (Percy Ma)
    • 8bda20e docs: remove manually maintained anchors (#16685) (Percy Ma)
    • b401cde feat: add options to check destructuring in no-underscore-dangle (#16006) (Morten Kaltoft)
    • b68440f docs: User Guide Getting Started expansion (#16596) (Ben Perlmutter)
    • 30d0daf feat: group properties with values in parentheses in key-spacing (#16677) (Francesco Trotta)
    • 10a5c78 chore: update ignore patterns in eslint.config.js (#16678) (Milos Djermanovic)
    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 0
  • Bump eslint from 8.28.0 to 8.30.0

    Bump eslint from 8.28.0 to 8.30.0

    Bumps eslint from 8.28.0 to 8.30.0.

    Release notes

    Sourced from eslint's releases.

    v8.30.0

    Features

    • 075ef2c feat: add suggestion for no-return-await (#16637) (Daniel Bartholomae)
    • 7190d98 feat: update globals (#16654) (Sébastien Règne)

    Bug Fixes

    • 1a327aa fix: Ensure flat config unignores work consistently like eslintrc (#16579) (Nicholas C. Zakas)
    • 9b8bb72 fix: autofix recursive functions in no-var (#16611) (Milos Djermanovic)

    Documentation

    • 6a8cd94 docs: Clarify Discord info in issue template config (#16663) (Nicholas C. Zakas)
    • ad44344 docs: CLI documentation standardization (#16563) (Ben Perlmutter)
    • 293573e docs: fix broken line numbers (#16606) (Sam Chen)
    • fa2c64b docs: use relative links for internal links (#16631) (Percy Ma)
    • 75276c9 docs: reorder options in no-unused-vars (#16625) (Milos Djermanovic)
    • 7276fe5 docs: Fix anchor in URL (#16628) (Karl Horky)
    • 6bef135 docs: don't apply layouts to html formatter example (#16591) (Tanuj Kanti)
    • dfc7ec1 docs: Formatters page updates (#16566) (Ben Perlmutter)
    • 8ba124c docs: update the prefer-const example (#16607) (Pavel)
    • e6cb05a docs: fix css leaking (#16603) (Sam Chen)

    Chores

    • f2c4737 chore: upgrade @​eslint/eslintrc@​1.4.0 (#16675) (Milos Djermanovic)
    • ba74253 chore: standardize npm script names per #14827 (#16315) (Patrick McElhaney)
    • 0d9af4c ci: fix npm v9 problem with file: (#16664) (Milos Djermanovic)
    • 90c9219 refactor: migrate off deprecated function-style rules in all tests (#16618) (Bryan Mishkin)

    v8.29.0

    Features

    • 49a07c5 feat: add allowParensAfterCommentPattern option to no-extra-parens (#16561) (Nitin Kumar)
    • e6a865d feat: prefer-named-capture-group add suggestions (#16544) (Josh Goldberg)
    • a91332b feat: In no-invalid-regexp validate flags also for non-literal patterns (#16583) (trosos)

    Documentation

    • 0311d81 docs: Configuring Plugins page intro, page tweaks, and rename (#16534) (Ben Perlmutter)
    • 57089b1 docs: add a property assignment example for camelcase rule (#16605) (Milos Djermanovic)
    • b6ab030 docs: add docs codeowners (#16601) (Strek)
    • 6380c87 docs: fix sitemap and feed (#16592) (Milos Djermanovic)
    • ade621d docs: perf debounce the search query (#16586) (Shanmughapriyan S)
    • fbcf3ab docs: fix searchbar clear button (#16585) (Shanmughapriyan S)
    • f894035 docs: HTTPS link to yeoman.io (#16582) (Christian Oliff)
    • de12b26 docs: Update configuration file pages (#16509) (Ben Perlmutter)
    • 1ae9f20 docs: update correct code examples for no-extra-parens rule (#16560) (Nitin Kumar)

    Chores

    • 7628403 chore: add discord channel link (#16590) (Amaresh S M)
    • f5808cb chore: fix rule doc headers check (#16564) (Milos Djermanovic)
    Changelog

    Sourced from eslint's changelog.

    v8.30.0 - December 16, 2022

    • f2c4737 chore: upgrade @​eslint/eslintrc@​1.4.0 (#16675) (Milos Djermanovic)
    • 1a327aa fix: Ensure flat config unignores work consistently like eslintrc (#16579) (Nicholas C. Zakas)
    • 075ef2c feat: add suggestion for no-return-await (#16637) (Daniel Bartholomae)
    • ba74253 chore: standardize npm script names per #14827 (#16315) (Patrick McElhaney)
    • 6a8cd94 docs: Clarify Discord info in issue template config (#16663) (Nicholas C. Zakas)
    • 0d9af4c ci: fix npm v9 problem with file: (#16664) (Milos Djermanovic)
    • 7190d98 feat: update globals (#16654) (Sébastien Règne)
    • ad44344 docs: CLI documentation standardization (#16563) (Ben Perlmutter)
    • 90c9219 refactor: migrate off deprecated function-style rules in all tests (#16618) (Bryan Mishkin)
    • 9b8bb72 fix: autofix recursive functions in no-var (#16611) (Milos Djermanovic)
    • 293573e docs: fix broken line numbers (#16606) (Sam Chen)
    • fa2c64b docs: use relative links for internal links (#16631) (Percy Ma)
    • 75276c9 docs: reorder options in no-unused-vars (#16625) (Milos Djermanovic)
    • 7276fe5 docs: Fix anchor in URL (#16628) (Karl Horky)
    • 6bef135 docs: don't apply layouts to html formatter example (#16591) (Tanuj Kanti)
    • dfc7ec1 docs: Formatters page updates (#16566) (Ben Perlmutter)
    • 8ba124c docs: update the prefer-const example (#16607) (Pavel)
    • e6cb05a docs: fix css leaking (#16603) (Sam Chen)

    v8.29.0 - December 2, 2022

    • 0311d81 docs: Configuring Plugins page intro, page tweaks, and rename (#16534) (Ben Perlmutter)
    • 57089b1 docs: add a property assignment example for camelcase rule (#16605) (Milos Djermanovic)
    • b6ab030 docs: add docs codeowners (#16601) (Strek)
    • 7628403 chore: add discord channel link (#16590) (Amaresh S M)
    • 49a07c5 feat: add allowParensAfterCommentPattern option to no-extra-parens (#16561) (Nitin Kumar)
    • 6380c87 docs: fix sitemap and feed (#16592) (Milos Djermanovic)
    • e6a865d feat: prefer-named-capture-group add suggestions (#16544) (Josh Goldberg)
    • ade621d docs: perf debounce the search query (#16586) (Shanmughapriyan S)
    • a91332b feat: In no-invalid-regexp validate flags also for non-literal patterns (#16583) (trosos)
    • fbcf3ab docs: fix searchbar clear button (#16585) (Shanmughapriyan S)
    • f894035 docs: HTTPS link to yeoman.io (#16582) (Christian Oliff)
    • de12b26 docs: Update configuration file pages (#16509) (Ben Perlmutter)
    • f5808cb chore: fix rule doc headers check (#16564) (Milos Djermanovic)
    • 1ae9f20 docs: update correct code examples for no-extra-parens rule (#16560) (Nitin Kumar)
    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 0
  • [BUG] - CommandBase extension parameters

    [BUG] - CommandBase extension parameters

    Describe the bug IntelliSense autocomplete support isn't offered for the

    @param {BaseConfig | APICommandConfig} config The full command configuration
    

    parameter configuration,

    To Reproduce Open up VSCode, call new ChatInputCommand({ <<CURSOR HERE>> }) and press ctrl+space, APICommandConfig options are NOT displayed

    Expected behavior APICommandConfig parameters are displayed alongside BaseConfig parameters

    Screenshots For example, global is missing from autocomplete options Code_9Bk33zn644

    Desktop (please complete the following information):

    • OS: Win11
    • Browser: n/a
    • Version: latest

    Additional context n/a

    bug documentation help wanted question 
    opened by Mirasaki 0
  • HTML generator: white bar on some mobile devices

    HTML generator: white bar on some mobile devices

    HTML command table generator mobile scrolling bug: Screenshot_20220824-192152_Brave

    This happens on some mobile devices because of the bottom docked control bar (Samsung Galaxy S10+ Edge for example)

    bug 
    opened by Mirasaki 0
Releases(v2.0.2)
  • v2.0.2(Jan 4, 2023)

    What's Changed

    • fix: properly apply APICommand defaults by @Mirasaki in https://github.com/Mirasaki/discord.js-bot-template/pull/86

    • 84 feat: ComponentCommand isUserComponent option by @Mirasaki in https://github.com/Mirasaki/discord.js-bot-template/pull/85

    • Bump eslint from 8.23.0 to 8.25.0 by @dependabot in https://github.com/Mirasaki/discord.js-bot-template/pull/59

    • Bump dotenv from 16.0.2 to 16.0.3 by @dependabot in https://github.com/Mirasaki/discord.js-bot-template/pull/57

    • Bump nodemon from 2.0.19 to 2.0.20 by @dependabot in https://github.com/Mirasaki/discord.js-bot-template/pull/52

    • Bump @discordjs/rest from 1.1.0 to 1.3.0 by @dependabot in https://github.com/Mirasaki/discord.js-bot-template/pull/58

    • Bump express from 4.18.1 to 4.18.2 by @dependabot in https://github.com/Mirasaki/discord.js-bot-template/pull/63

    • Bump discord.js from 14.3.0 to 14.6.0 by @dependabot in https://github.com/Mirasaki/discord.js-bot-template/pull/60

    • Bump eslint-plugin-sonarjs from 0.15.0 to 0.16.0 by @dependabot in https://github.com/Mirasaki/discord.js-bot-template/pull/62

    • Bump concurrently from 7.4.0 to 7.5.0 by @dependabot in https://github.com/Mirasaki/discord.js-bot-template/pull/65

    • Bump eslint from 8.25.0 to 8.26.0 by @dependabot in https://github.com/Mirasaki/discord.js-bot-template/pull/64

    • Bump eslint from 8.26.0 to 8.27.0 by @dependabot in https://github.com/Mirasaki/discord.js-bot-template/pull/69

    • Bump docdash from 1.2.0 to 2.0.0 by @dependabot in https://github.com/Mirasaki/discord.js-bot-template/pull/70

    • Bump jsdoc from 3.6.11 to 4.0.0 by @dependabot in https://github.com/Mirasaki/discord.js-bot-template/pull/67

    • Bump swagger-ui-express from 4.5.0 to 4.6.0 by @dependabot in https://github.com/Mirasaki/discord.js-bot-template/pull/68

    • Bump eslint from 8.27.0 to 8.28.0 by @dependabot in https://github.com/Mirasaki/discord.js-bot-template/pull/71

    • Bump eslint-plugin-sonarjs from 0.16.0 to 0.17.0 by @dependabot in https://github.com/Mirasaki/discord.js-bot-template/pull/77

    • Bump @discordjs/rest from 1.3.0 to 1.4.0 by @dependabot in https://github.com/Mirasaki/discord.js-bot-template/pull/75

    • Bump jsdoc-to-markdown from 7.1.1 to 8.0.0 by @dependabot in https://github.com/Mirasaki/discord.js-bot-template/pull/73

    • Bump concurrently from 7.5.0 to 7.6.0 by @dependabot in https://github.com/Mirasaki/discord.js-bot-template/pull/72

    • Bump discord.js from 14.6.0 to 14.7.1 by @dependabot in https://github.com/Mirasaki/discord.js-bot-template/pull/76

    • Dev by @Mirasaki in https://github.com/Mirasaki/discord.js-bot-template/pull/78

    • Bump @discordjs/rest from 1.4.0 to 1.5.0 by @dependabot in https://github.com/Mirasaki/discord.js-bot-template/pull/80

    • Bump eslint from 8.28.0 to 8.30.0 by @dependabot in https://github.com/Mirasaki/discord.js-bot-template/pull/82

    • Bump swagger-jsdoc from 6.2.5 to 6.2.7 by @dependabot in https://github.com/Mirasaki/discord.js-bot-template/pull/81

    • Bump eslint from 8.30.0 to 8.31.0 by @dependabot in https://github.com/Mirasaki/discord.js-bot-template/pull/83

    Full Changelog: https://github.com/Mirasaki/discord.js-bot-template/compare/v2.0.1...v2.0.2

    Source code(tar.gz)
    Source code(zip)
  • v2.0.1(Sep 10, 2022)

    What's Changed

    • 42 support context menus in the help command by @Mirasaki in https://github.com/Mirasaki/discord.js-bot-template/pull/43
    • JSDoc: Fix OR statement by @Mirasaki in https://github.com/Mirasaki/discord.js-bot-template/pull/44
    • Dev by @Mirasaki in https://github.com/Mirasaki/discord.js-bot-template/pull/45
    • fix header spacing by @Mirasaki in https://github.com/Mirasaki/discord.js-bot-template/pull/47
    • Bump eslint from 8.22.0 to 8.23.0 by @dependabot in https://github.com/Mirasaki/discord.js-bot-template/pull/46
    • Bump concurrently from 7.3.0 to 7.4.0 by @dependabot in https://github.com/Mirasaki/discord.js-bot-template/pull/49
    • Bump dotenv from 16.0.1 to 16.0.2 by @dependabot in https://github.com/Mirasaki/discord.js-bot-template/pull/48
    • Dev by @Mirasaki in https://github.com/Mirasaki/discord.js-bot-template/pull/50

    Full Changelog: https://github.com/Mirasaki/discord.js-bot-template/compare/v2.0.0...v2.0.1

    Source code(tar.gz)
    Source code(zip)
  • v2.0.0(Aug 25, 2022)

    First off: Documentation, yes. You can find it at https://djs.mirasaki.dev. You can find the RESTful API documentation at https://djs.mirasaki.dev/api-docs (main website is CORS enabled so you can test API calls on the documentation page)

    What's changed:

    + Added a RESTful API, this server the clients command data over http(s)
    + Added client documentation at https://djs.mirasaki.dev
    + Added API documentation at https://djs.mirasaki.dev/api-docs
    + Added support for User and Message Context Menu Commands
    + Added support for ALL interaction components, buttons, modals, auto-complete and select-menus
    + Added command aliases functionality
    + Our client generates a static HTML page with command data now, example at https://djs.mirasaki.dev/html/commands.html
    + Updated the Dockerfile for v2
    + Updated the README to include v2 features
    + Added a constants file which holds are your unique string variables and definitions
    + Added tsconfig.json file to generate type definitions in development
    + Completely reworked the interaction handler to accommodate v2 changes
    + Reworked the /config.js file to be less confusing for new developers, values our now resolved outside of the file
    + Added the exec command, which executes console commands
    + Added the reload command, actively reloading your data and run function without rebooting with something like nodemon
    + Added the /print-embed message context command, which prints embed JSON data in the reply
    + Added the /info user context command, which displayes a user's information in the interaction reply
    + Completely reworked and improved the command handler
    + Added the invite command, which returns a bot invite link with automatically resolved (required) permissions
    + Added an HTML handler, which generates our page(s)
    - the config object has been removed, you should now exports your commands differently. Take a look: https://djs.mirasaki.dev/tutorial-adding-commands.html
    + Added tutorials
    
    --- Miscellaneous / Meta ---
    
    + Created GitHub Issue templates for bug reports and feature suggestions
    + Added categorization to .env.example and included new variables
    + Added a missing .eslintrc.json value
    + Added automatic dependabot alerts
    + Added CODE_OF_CONDUCT file
    
    • Updated the .dockerignore file
    • Updated the .gitignore file
    • Updated the package scripts to accommodate v2
    • Reworked and documented the client-extensions file
    

    To view all changes, check out: https://github.com/Mirasaki/discord.js-bot-template/compare/v.1.0.4...v2.0.0

    Source code(tar.gz)
    Source code(zip)
  • v2.0.0-beta(Aug 24, 2022)

    Beta release for v2. The template will be thoroughly tested and a good "What Changed" section will be written when v2 is out of beta

    What's Changed

    • v2 | Initial Release by @Mirasaki in https://github.com/Mirasaki/discord.js-bot-template/pull/26
    • Fix express' static serve by @Mirasaki in https://github.com/Mirasaki/discord.js-bot-template/pull/27
    • fix minor bugs by @Mirasaki in https://github.com/Mirasaki/discord.js-bot-template/pull/29
    • Customizable project folder structure by @Mirasaki in https://github.com/Mirasaki/discord.js-bot-template/pull/30
    • fix: typo/grammar by @Mirasaki in https://github.com/Mirasaki/discord.js-bot-template/pull/31

    Full Changelog: https://github.com/Mirasaki/discord.js-bot-template/compare/v.1.0.4...v2.0.0-beta

    Source code(tar.gz)
    Source code(zip)
  • v.1.0.4(Aug 10, 2022)

    What's Changed

    • Dev by @Mirasaki in https://github.com/Mirasaki/discord.js-bot-template/pull/24
    • Development update, documentation & accessibility by @Mirasaki in https://github.com/Mirasaki/discord.js-bot-template/pull/25
    • Added Docker configuration
    • Added the /eval command
    • reorganize/refactor bot config (config/config.json, .env, etc)
    • Minor bug fixes

    Full Changelog: https://github.com/Mirasaki/discord.js-bot-template/compare/v1.0.3...v.1.0.4

    Source code(tar.gz)
    Source code(zip)
  • v1.0.3(Jun 9, 2022)

    What's Changed

    • 20 client activity doesnt work by @Mirasaki in https://github.com/Mirasaki/discord.js-bot-template/pull/21
    • Command API error data debugging by @Mirasaki in https://github.com/Mirasaki/discord.js-bot-template/pull/22

    Full Changelog: https://github.com/Mirasaki/discord.js-bot-template/compare/v1.0.2...v1.0.3

    Source code(tar.gz)
    Source code(zip)
  • v1.0.2(May 28, 2022)

    What's Changed

    • Create codeql.yml action by @Mirasaki in https://github.com/Mirasaki/discord.js-bot-template/pull/1
    • Dev by @Mirasaki in https://github.com/Mirasaki/discord.js-bot-template/pull/3
    • add @discordjs/rest to depencencies by @Mirasaki in https://github.com/Mirasaki/discord.js-bot-template/pull/9
    • add live demo to project README by @Mirasaki in https://github.com/Mirasaki/discord.js-bot-template/pull/11
    • add showcase section to project README by @Mirasaki in https://github.com/Mirasaki/discord.js-bot-template/pull/12
    • add required node version to package by @Mirasaki in https://github.com/Mirasaki/discord.js-bot-template/pull/13
    • check missing test command data by @Mirasaki in https://github.com/Mirasaki/discord.js-bot-template/pull/15
    • update listener debugging by @Mirasaki in https://github.com/Mirasaki/discord.js-bot-template/pull/17
    • update CommandInteraction permissions by @Mirasaki in https://github.com/Mirasaki/discord.js-bot-template/pull/18

    New Contributors

    • @Mirasaki made their first contribution in https://github.com/Mirasaki/discord.js-bot-template/pull/1

    Full Changelog: https://github.com/Mirasaki/discord.js-bot-template/compare/1.0.0...v1.0.2

    Source code(tar.gz)
    Source code(zip)
Owner
Richard Hillebrand
Richard Hillebrand
Gitlift Discord Bot is a discord bot which is listening Discord Messages to reply with user gitlift profile and total contributions.

Remoklify - Gitlift Discord Bot Gitlift Discord Bot is a discord bot which is listening Discord Messages to reply with user gitlift profile and total

Remoklify 3 Mar 20, 2022
About Discord bot draft that does not contain ready-made commands, compatible with discord.js v14. Create your own discord bot with this command handler.

discordJS-V14 About Discord bot draft that does not contain ready-made commands, compatible with discord.js v14. Create your own discord bot with this

Umut Bayraktar 36 Dec 28, 2022
A discord bot made using discord.js and discord-player

Musx A custom discord bot that can play music in your server ?? Add the bot to your server If you are looking for a music bot for your Discord server

Shashwat Singh 4 Mar 28, 2022
This bot is a cool Discord bot made in discord.js using Node.JS

Anti-Crosspost Discord Bot This bot is a cool Discord bot made in discord.js using Node.JS. It detects when a user cross-posts a message in multiple c

Muhammad Usman Mithani 4 May 31, 2022
A simple & easy2use API for obtaining information about a discord user, discord bot or discord guild and their use for some purpose on websites!

discord-web-api A simple & easy2use API for obtaining information about a discord user, discord bot or discord guild and their use for some purpose on

InvalidLenni 2 Jun 28, 2022
Discord Neura - a Discord bot framework built on discord.js

Discord Neura Description Discord Neura is a Discord bot framework built on discord.js. Features Command Handler, Arguments, Preconditions and Listene

Discord Neura 3 Mar 23, 2022
Co-Pilot is a discord Bot designed to be the all-in-one, open-source Discord bot that handles all your server needs.

Welcome to Co-Pilot Bot repo! ?? ?? Co-Pilot (All-in-one Discord Bot) Co-Pilot is a discord Bot designed to be the all-in-one, open-source Discord bot

YMafalha 19 Nov 11, 2022
It is a discord bot bot which can play lofi song in different language 24/7. It has premium system and cool embed looks with buttons. It can play youtube songs, playlists. This bot code was made by Supreme#2401. It uses djs V12

Lofi-Radio-Music-Bot It is a discord bot bot which can play lofi song in different language 24/7. It has premium system and cool embed looks with butt

Diwas Atreya 89 Jan 2, 2023
A bot template using discord.js

discord.js-bot-template Overview This is a bot template using discord.js for quickly and easily creating powerful Discord bots. You don't need much Ja

Richard Hillebrand 23 Dec 12, 2022
A template to use for creating a Discord Bot using version 13.

DiscordV13 Template It is meant to be used as a solid base for your Discord bot, it already comes with a main file, command and event Handler, along w

Nícolas Gabriel 6 Aug 26, 2022
New base bot WhatsApp 🈴 bukan self bot lagi atau buka bot yang bisa di pakai oleh bot sendiri 😎

Installation • Thanks to • Donate Official Group Bot • Settings Instalasi Heroku Buildpack Click the deploy icon below ! > heroku/nodejs > https://g

zeeone 27 Feb 9, 2022
A multipurpose Discord-bot created using discord.js.

Flame A multipurpose Discord-bot with music, economy, utils, and also auto-moderation. Flame is a powerfull, multipurpose and fully modular Discord-bo

Flame 38 Nov 14, 2021
A discord bot using @discord.js and mongoose. Used for music, moderation, and entertainment.

hazel A discord bot using @discord.js and mongoose. Used for music, moderation, and entertainment. Features Music ― supporting YouTube, Spotify and So

yushi 27 Dec 31, 2022
Sample discord bot using clashofclans.js and discord.js

Clash of Clans sample discord bot using NodeJs Introduction This sample bot project aims to help you get started with interacting Clash of Clans API u

Priyam 6 Dec 16, 2022
Template d'un bot Discord mis à jour par alzhetv.

?? Discord Js - Bot Template - ayzundev (original) x alzhetv (ajouts) ?? Prérequis : https://discord.com/developers/applications Créez une 'Nouvelle A

alzhetv 1 Dec 24, 2021
This Command Line tool will generate a Discord bot template for you 🤖.

Make Discord Bot This is the main repository of the Make Discord Bot CLI. About : Make Discord Bot is a Command Line Interface that allows for easy ac

Çetin Kaan Taşkıngenç 4 Feb 5, 2022
Revoltchat-bot - Revolt.chat bot template

revoltchat-bot Revolt.chat bot template made with Typescript Setup Guide Clone this repository git clone https://github.com/debert-jamie/revoltchat-bo

Debert Jamie 3 Jan 2, 2023
⚡ Discord bot with economy, gambling, music, fun, moderation features based on discord.js v12

Crucian Crucian is my discord bot with simple structure based on discord.js Click Here to invite Crucian to your server Author Crucian © Apoo Authored

apoow3b 3 Jul 26, 2021
Cyrus is a Discord Bot with focus on Fun, Moderation, information and much more commands! Made it with Discord.js

Cyrus Cyrus is a Discord Bot with focus on Fun, Moderation, information and much more commands! Made it with Discord.js Invite : Click here Vote : Top

null 4 Dec 3, 2022