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
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 cominfounifiton/transfermanager > end depmag
...
process init initmag
_ _ _
(_) _ __ (_) | |_ _ __ ___ __ _ __ _
| | | '_ \ | | | __| | '_ ` _ \ / _` | / _` |
| | | | | | | | | |_ | | | | | | | (_| | | (_| |
|_| |_| |_| |_| \__| |_| |_| |_| \__,_| \__, |
|___/ V1
initmag v0.0.1
initmag/client > init checks
connection...OK
initmag...OK
ping...OK
clear
init processchecks, background checks,
errors
warns
missing files
corrupted files
modified files
background changes ___ ___ ___ ___ ___
/\ \ /\__\ /| | /\ \ /\__\
\:\ \ /:/ _/_ |:| | /::\ \ /:/ _/_
\:\ \ /:/ /\__\ |:| | /:/\:\ \ /:/ /\ \
_____\:\ \ /:/ /:/ _/_ __|:|__| /:/ \:\ \ /:/ /::\ \
/::::::::\__\ /:/_/:/ /\__\ /::::\__\_____ /:/__/ \:\__\ /:/_/:/\:\__\
\:\~~\~~\/__/ \:\/:/ /:/ / ~~~~\::::/___/ \:\ \ /:/ / \:\/:/ /:/ /
\:\ \ \::/_/:/ / |:|~~| \:\ /:/ / \::/ /:/ /
\:\ \ \:\/:/ / |:| | \:\/:/ / \/_/:/ /
\:\__\ \::/ / |:|__| \::/ / /:/ /
\/__/ \/__/ |/__/ \/__/ \/__/ by Friendsy
Checks Cleared, NeXos V17 M2
Command Run Request Fufilled
init end cycle
cycle end...
clear and standby - V17 M2exit code 1 - close processRESOURCE ACCESS DENIEDreponse client: there was an error trying to execute that command!Last updated
Was this helpful?