GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Advanced-Command-Handler/guide: The guide of the Advanced-Command-Handler.

BranchesTags
Open more actions menu

Latest commit

 

History

12 Commits
12 Commits

Folders and files

NameName
Last commit message
Last commit date
concepts
concepts
 
 
utilities
utilities
 
 
README.md
README.md
 
 
SUMMARY.md
SUMMARY.md
 
 
defaults.md
defaults.md
 
 
v2-v3-migration-guide.md
v2-v3-migration-guide.md
 
 

Repository files navigation

Home

What it is

This is a node.js library written in typescript for more than a year that is here to simplify bot creation with automation for commands/events handling, defaults commands/events, plus some utilities classes and functions.

See on GitHub

Documentation

Installation

To install this module, you need Node.js with at least version 16.

Then execute this command :

$ npm install --save advanced-command-handler

{% hint style="info" %} Add @beta at the end to install the beta version or @rc to install the release candidate version if any. {% endhint %}

For the version 3.0.x of the library you will need Discord.js v12, it will be updated to v13 in versions 3.1.x.

Getting started

First, create a bot application, then get the token of the application.

Install the dependency and create your main JavaScript (or TypeScript) file and write the first lines to setup the bot and the Command Handler and start it.

{% code title="index.js" %}

const {CommandHandler} = require('advanced-command-handler');

CommandHandler.create({
    commandsDir: 'commands',
    eventsDir: 'events'
}).launch({
    token: 'the token of my bot'
});

{% endcode %}

Then run this file using Node.js.

$ node index.js

{% hint style="success" %} Node.js will run by default files named index.js so you can just run this :

$ node

{% endhint %}

About

The guide of the Advanced-Command-Handler.

ayfri.gitbook.io/advanced-command-handler/

Topics

advanced-command-handlercommand-handlerdiscord-botdiscord-js

Resources

Readme
Activity
Custom properties

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.