Initiators

about initiators

initiators are 3-5 lines of code and are required on all NeXos Modules.

initiators are what identify each specific module on NeXos. As NeXos's library of Modules grow, its important to have a simple and quick way to identify one's module.

initiators should look like this \/

module.exports = {
	name: 'the name of your module and or command',
	description: 'an awesome and descriptive description!', 
		

Variables

OPTIONS UniConnect - Modules, Initiators

​As of 22/10/2020. you do not need to review the Response section, however, it is useful to know how the bot will behave. Your command's Initiator must have a name, alias, and description. Arguments checker and Cooldown is optional.

Headers

Name
Type
Description

Name

object

Name of your module to be displayed to the user when the user runs ne.help

Aliases

boolean

Not currently documented.

Args

integer

Arguments either, True, or False.

Description

object

Description of your Module, also displayed to the user when the user requests help for a specific command.

Cooldown

number

Cooldown Variable, default is 3 seconds, which should be good for most commands.

unifiton/depmag > req cominfo

Last updated