Skip to content
Server Helpers accountAge

$accountAge — Age of a Discord account, computed from the user ID (no request is made)

Age of a Discord account, computed from the user ID (no request is made).

Syntax

$accountAge[userID;(unit)]

Parameters

  • userID (ID, required) — Any user ID.
  • unit (y d h m or s, optional) — Whole units elapsed. Default: d (days). A year is 365 days.

Return Value

  • number.

Usage

$accountAge[$authorID] → "1204"

Example

$sendMessage[$accountAge[$authorID]]

Try it

Paste an example into the playground to preview its message (functions that act on Discord are not run), or build the same thing with blocks.