discord-kommando.js-plugins
Welcome to the discord-kommando.js-plugins docs!
This module will help you to make discord-kommando.js plugins!
Classes
Main
require('discord-kommando.js-plugins');
Properties
perms
type: PluginPerms
Plugin permissions.
plugin
new <plugins>.plugin(permissions);
Properties
name
type: string
Name of this plugin
perms
type: string[]
Plugin permissions
Events
messageCreate
| Parameter | Type |
|---|---|
message |
Discord.Message |
debug
| Parameter | Type |
|---|---|
message |
string |
warn
| Parameter | Type |
|---|---|
message |
string |
error
| Parameter | Type |
|---|---|
message |
string |
client |
Discord.Client |
Types
PluginPerms
{
"ALL": [],
"PERMS": {
"GET_MESSAGES": "msg"
}
}