Skip to content

$welcomeMessage

Let’s you setup a text for greeting. Intended for onJoin event from aoi.js but can be used without the event for testing purposes.

Usage

$welcomeMessage[text]

Parameters

FieldTypeDescriptionRequired?
textstringText to use for greetingtrue

Placeholders

NameDescription
<username>Returns the member’s username
<Displayname>Returns the member’s display name
<globalname>Returns the member’s global name
<mention>Mentions the member
<id>Returns the member’s id
<owner.username>Returns the server owner’s username
<owner.id>Returns the server owner’s id
<server.name>Returns the server name
<server.id>Returns the server id
<creationdate>Returns the date the member joined Discord
<position>Returns the member’s position number

Example

This will return your username upon running it

$welcomeMessage[Hello, <username>!]