Skip to main content
Your own variables can do more than show a plain value. Put a dot and a word at the end and DogeBot changes how it looks, or works something out for you.
Stored values with readable endings

Press Stored values on the Database page. The How to use list (1) shows every ending for that variable, and the Leaderboard maker (2) writes a whole message for you.

Nicer numbers

Work on any number.

Leaderboards (User variables)

These look at every member’s value in this server. They only work on User variables, like coins or XP. Every ending that is about one member can point at someone else with [ ]:
See Point a variable at someone else.

A leaderboard message in one line

You don’t have to write this yourself. On the Database page press Stored values, then use the Leaderboard maker: pick how many places and press Copy message.

Lists (Collections)

These work on Collection variables, and on User variables that store a list. In .each[...]:
  • $value is the thing,
  • $number counts 1, 2, 3,
  • \n means a new line.

Lists of items with keys

A shop is a list where every item has keys, like name, price and stock. These endings read inside the items.

Objects

For an Object variable, put a dot and the key name:
If a key holds a list, you can keep going: {DBVAR_inventory.weapons.length}, {DBVAR_inventory.weapons.join[, ]}.

Endings can be chained

Endings run from left to right, so you can put them one after another: