Global

Methods

error(err)

Error logger
Source:
Parameters:
Name Type Description
err String The error to log

info(content)

Sends info to the console
Source:
Parameters:
Name Type Description
content String The info message

log(content)

Used to log things to the console
Source:
Parameters:
Name Type Description
content String The content to log

warn(content)

Sends a warning to the console
Source:
Parameters:
Name Type Description
content String Warn message

Type Definitions

CommandInfo

Properties:
Name Type Attributes Description
name string The name of the command (must be lowercase)
aliases Array.<string> <optional>
Alternative names for the command (all must be lowercase)
group string The ID of the group the command belongs to (must be lowercase)
description string A short description of the command
Source:
Type:
  • Object

ModzClientOptions

Options for a Client
Properties:
Name Type Attributes Default Description
owner string <optional>
The owner of the client
prefix string <optional>
The prefix used for the client
selfbot boolean <optional>
false Whether the client is in selfbot mode
logging boolean <optional>
false Whether the client should log mentions
logchannel string <optional>
The channel to log mentions in, if the option logging is enabled
Source:
Type: