.arguments

Type: Collection

.botMention

Type: stringor undefined

.commands

Type: Collection

.inhibitors

Type: Collection

.messageCollectors

Type: Collection

.monitors

Type: Collection

.options

Type: BotClientOptions

.prefix

.prefixes

Type: Map

.sourceFolderPath

Type: string

.tasks

Type: Collection

.collectMessages(options:CollectMessagesOptions)

Type: Promise<unknown>

Handler that will create a collecetor internally. Users should be using needMessage.

.cooldownReached(message:Message

,

command:Command

,

options:RespondToCooldownOption)

Type: Promise<unknown>

Handler that is executed when a user is using a command too fast and goes into cooldown. Override this to customize the behavior.

.executeTask(task:Task)

Type: Promise<void>

Handler to execute a task when it is time.

Get a clean string form of the current time. For example: 12:00PM

.humanizeMilliseconds(milliseconds:

number

)

Converts a number of milliseconds to a easy to read format(1d2h3m).

Type: Promise<void>

Prepares the bot to run. Ideally used for loading files to the bot.

Allows users to override and customize the addition of a event listener

Allows users to override and customize the initialization of scheduled task intervals.

.loadFile(result:

any

,

dir:

string

,

collection:

Collection

)

Type: Promise<void>

.needMessage(userId:

string

,

channelId:

string

,

options:

unknown

)

Type: Promise<Message>

Request some message(s) from a user in a channel.

.processMonitors(message:Message)

Handler that is run on messages and can

.stringToMilliseconds(text:

string

)

Converts a text form(1d2h3m) of time to a number in milliseconds.