Skip to content
Entity Info serverInvites

$serverInvites

Lists the invitations of the server. Bot Creator function, not in the official BDFD wiki.

Syntax

$serverInvites[(guildID);(separator);(property)]

Parameters

Parameter Description
guildID Optional. The ID of the server. Empty or absent: the current server.
separator Optional. Text placed between two values, , by default.
property Optional. code (default), uses, maxUses, inviterID, channelID or json.

Return Value

  • One value per invitation, joined by the separator.

Example

$serverInvites[;\n;uses]

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.