1.3.0 • Published 7 months ago

benpai-bot-builder v1.3.0

Weekly downloads
-
License
AGPL-3.0-or-later
Repository
github
Last release
7 months ago

Discord.JS Bot Builder

This is a simple bot builder for Discord.JS. It is designed to be easy to use and easy to understand. It uses the package inquirer to ask questions and chalk to color the output. It also uses fs-extra to copy the files from the template folder to the new bot folder.

Running

To run the bot builder tool, execute the following command:

npx benpai-bot-builder

File Structure

/base
⊢ /commands
    ∟ example[.js]
⊢ /events
    ⊢ ready.js
    ⊢ messageCreate.js
    ⊢ messageUpdate.js
    ⊢ interactionCreate.js
    ∟ example[.js]
⊢ /functions
    ∟ massClass.js
⊢ /triggers
    ∟ example[.js]
⊢ /components
    ⊢ /buttons
        ∟ example[.js]
    ⊢ /selectMenus
        ∟ example[.js]
    ⊢ /modals
        ∟ example[.js]
    ∟ /contextMenus
        ∟ example[.js]
⊢ /node_modules
⊢ index.js
⊢ .env
∟ package.json

Directories that are important

/commands

This folder will hold all of your slash commands for your bot

/events

This folder will hold all of your event listeners for your bot

/functions

This folder will hold all of your custom miscellaneous functions for your bot

/triggers

This folder will hold all of your message triggers for your bot. These will function like chat commands.

/components

This folder will hold all of your components for your bot. These will be buttons, select menus, modals, and context menus.

Files that are important

index.js

This is the main file for your bot. It will be the entry point for your bot.

.env

This is the file that will hold all of your environment variables. It will be used to store your bot token and other important information. THIS FILE SHOULD NOT BE COMMITTED TO GITHUB NOR SHOULD IT BE SHARED WITH ANYONE.

package.json

This is the file that will hold all of your bot's dependencies. It will be used to install all of the dependencies for your bot.

License

This project used a AGPL (Affero General Public License) version 3.0 license. This means that you can use this project for free, but you must make any changes to the project open source. You can read more about the license here.

Contributing

Please refer to the contributing guidelines for more information.

Credits

  • Lead Developer and Owner: Benpai
  • Partial Original Code Holder: DAAD
  • Partial Original Code Holder: FemDevs
1.2.2

9 months ago

1.3.0

7 months ago

1.2.0

1 year ago

1.1.5

1 year ago

1.2.1

1 year ago

1.1.4

1 year ago

1.1.3

1 year ago

1.0.0

1 year ago