Documentation

Frequently used words

ID

Description

message

The message that was sent by the user

args

The Arguments given by the user, prefix and command name are removed from it

client

The client object used for the bot

handlers

Simplify code by managing them in separate files

commands

Commands of the bot

events

Events of the bot

bin

Code for the command line interface of Crypton

Command Properties:

All properties and names are in camelCase:

Property name

Type

name

String

aliases

Array<String>

description

String

args

Boolean

cooldown

Number

usage

String

guildOnly

Boolean

permissions

Array<String>

run

function(message, args)

Last updated

Was this helpful?