Skip to content

Latest commit

 

History

History
42 lines (31 loc) · 1.63 KB

README.md

File metadata and controls

42 lines (31 loc) · 1.63 KB

Guilded.JS Base Handler

This repository contains a base handler bot for Guilded, using the Guilded.JS library. The bot already has an example command and is easily customizable to fit your needs.

Prerequisites

Before using this bot, you will need:

Installation

To use this handler, you need to follow these steps:

  1. Clone this repository to your local machine using the command:
git clone https://github.com/MixDevCode/gjs-base-handler.git
  1. Install the required dependencies using the command:
npm install
  1. Create a .env file in the root of the project and configure the necessary environment variables. You can use the .env.example file as a reference.

  2. Run the bot using the command:

node index.js
  1. Your bot should now be up and running on Guilded.

Used Modules

  • @discordjs/collection: To store the commands in a collection and later search for them using a handler.
  • dotenv: To use environment variables and protect sensitive information.
  • glob: To get the list of command and event files.
  • guilded.js: To connect to the Guilded API and receive server information.

Contributions

Feel free to contribute to this project by opening a Pull Request. Any improvements or suggestions are welcome.

License

This project is licensed under the ISC License. See the LICENSE file.