Get Channel Invites

Iterate over all invites in a channel.

This block is an iterator. Learn more about iterators.

Inputs

Server ID

ID of the server to retrieve invites for.

Example: 123456789012345678

Outputs

Invite Code

The invite code. This is the part after discord.gg/.

Example: ntcSNCjqWr

Server ID

The ID of the server that the invite is in.

Example: 123456789012345678

Channel ID

The ID of the channel that the invite is for.

Example: 123456789012345678

Channel Name

The name of the channel that the invite is for.

Example: general

Invite Creator User ID

The ID of the user who created the invite.

Example: 123456789012345678

Invite Creator Username

The username of the user who created the invite.

Example: super_cool_user

Invite Uses

The total amount of times this invite has been used.

Example: 4

Invite Max Uses

The maximum amount of times this invite can be used. The block will return 0 if it has unlimited uses.

Example: 3 or 0 (unlimited)

Invite Temporary

Whether or not the invite grants a temporary membership. A temporary membership is one that will kick the user after they log off if they are not assigned a role.

Example: true or false

Expires At (Unix)

The Unix timestamp when the invite will expire. The block will return 0 if it will not expire.

Example: 1731886315 or 0 (never)

Invite Created At (Unix)

The Unix timestamp when the invite was created.

Example: 1731886315