Skip to content

$log

$log will log a given message in your bot’s console.

Usage

$log[content]

Parameters

FieldTypeDescriptionRequired
contentstring, numberContent of the message to log.true

Example(s)

This will log “Aoi.js is great!” in your bot’s console:

1
client.command({
2
name: "log",
3
code: `
4
$log[Aoi.js is great!]
5
`
6
});