Skip to content
/ gjs-base-handler Public template

This repository provides a base template for creating Guilded bots with a built-in commands/events handler, implemented using the Guilded.JS library.

License

Notifications You must be signed in to change notification settings

MixDevCode/gjs-base-handler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

This repository provides a base template for creating Guilded bots with a built-in commands/events handler, implemented using the Guilded.JS library.

Topics

Resources

License

Stars

Watchers

Forks