Resources
Scripting Variables
Variables which can be used in scripts.
These variables are univerally accessible throughout the bot and can be used
in any command context which contains a message
or script
parameter (e.g. welcome
, leave
& goodbye
)
Variable | Information | Output |
---|---|---|
{guild} | The guild’s name | ethan's server |
{guild.id} | The guild’s identifier | 34546. |
{guild.name} | The guild’s name | ethan's server |
{guild.icon} | The guild’s icon | ../icons/34546. |
{guild.banner} | The guild’s banner | ../banners/34546. |
{guild.splash} | The guild’s splash | ../splashes/34546. |
{guild.discovery_splash} | The guild’s discovery splash | ../dscv-splash/34546. |
{guild.owner_id} | The guild’s owner’s identifier | 34546. |
{guild.member_count} | The guild’s member count | 2,683 |
{guild.created_at} | The guild’s unix creation date | 1659647018 |