Skip to content

Variables

Variables

Variables in YAMLCord are wrapped in square brackets ([]).

Date / Time Variables

VariableDescription
[date_now]Returns the number of milliseconds elapsed since 1 January 1970 UTC.

Message Variables

VariableDescription
[message_content]Returns the content of the message.

User Variables

VariableDescription
[user_id]Returns the user ID.
[user_name]Returns the user name.

Server Variables

VariableDescription
[guild_id]Returns the server ID.
[guild_name]Returns the server name.
[owner_id]Returns the owner ID.
[owner_name]Returns the owner name.

Owner Variables

[owner_id] and [owner_name] may be undefined. Use at your own risk.