Skip to main content
The normal variables cover the things people use most. But Discord knows much more: when a channel was made, how many boosts a server has, a member’s nickname, a role’s colour and lots else. Discord objects let you read all of it. They start with a capital letter, then a dot, then the thing you want:

The objects

Ready by itself means it already knows which one you mean. In a command, {Member.nickname} is the nickname of whoever used the command.

Pointing at a different one

Put [ ] straight after the object name, before the dot. Inside, use an ID, an input like option_user, or a variable:
The brackets go before the dot. {Member[option_user].nickname} works. {Member.nickname[option_user]} does not.
See Point a variable at someone else for everything that can go inside the brackets.

Going deeper with more dots

Some things have things inside them. Keep adding dots:

Useful ones to start with

These names come from Discord itself, so they use Discord’s own words. Discord calls a server a guild, and a boost a premium subscription.

If it shows as plain text

If you see {Member.nickname} in Discord instead of a value, either:
  • that thing is empty (the person has no nickname). Add a backup: {Member.nickname|no nickname}.
  • the name after the dot is spelled wrong. Capital letters matter: memberCount, not membercount.
  • the bot can’t see it, for example a member who already left.