Discord Object Blocks
Discord-related blocks. Blocks that allows you to access Discord-related data.
Server Block
note
This block is supported in Custom Commands, Welcome Message, Goodbye Message, and Boost Message.
Block that allows you to access Discord Server/Guild data.
- Block:
{server}
- Aliases:
{guild}
- Parameters:
id
: Return the ID of the servername
: Return the name of the server (default behaviour)icon
: Return the link to the server's iconcreated_at
: Return the creation date of the servertimestamp
: Return the creation date of the server as UTC epoch timestampmember_count
: Return the server's member countbots
: Return the number of bots in the serverhumans
: Return the number of humans in the serverdescription
: Return the description of the server (or "No description")channels
: Return the number of channel in the serverroles
: Return the number of roles in the serverowner
: Return the owner of the serverrandom
: Return random member in the serverrandomonline
: Return random online member in the serverrandomoffline
: Return random offline member in the server
- Payloads: None
- Examples:
{server(id)}
,{guild}
,{guild(channels)}
Channel Block
note
This block is supported in Custom Commands.
Block that allows you to access Discord Channel data.
- Block:
{channel}
- Aliases: None
- Parameters:
id
: Return the ID of the channelname
: Return the name of the channel (default behaviour)created_at
: Return the creation date of the channeltimestamp
: Return the creation date of the channel as UTC epoch timestampnsfw
: Return the channel's NSFW statusmention
: Mentions the channel (e.g.#channelname
)topic
: Return the topic of the channel
- Payloads: None
- Examples:
{channel}
,{channel(mention)}
,{channel(topic)}
Member Block
note
Some alias may not available in some places.
This block is supported in Custom Commands, Welcome Message, Goodbye Message, and Boost Message.
Block that allows you to access Discord Member data.
- Block:
{user}
- Aliases:
{author}
(Custom Command only){target}
(Custom Command only){member}
- Parameters:
id
: Return the ID of the membername
: Return the name of the member (default behaviour)nick
: Return the nickname of the member (fallback to name if none is set)avatar
: Return the link of the member's avatardiscriminator
: Return the discriminator of the member (the 4 digit numbers after#
on their name, e.g. 'Z3R0#3977')created_at
: Return the creation date of the member's accounttimestamp
: Return the creation date of the member's account as UTC epoch timestampjoined_at
: Return the date the member joined the servermention
: Mentions the member (e.g.@username
, it won't ping them)bot
: Return bot status of the member (whether or not the member is a bot)color
: Return the member's top role's hex color (e.g.#000000
)
- Payloads: None
- Examples:
{member}
,{member(mention)}
,{member(color)}