Data & storage

Persistent per-server storage so leaderboards, economies, warning counts and pet games keep their state between runs.

13 of 196 tools

What you can ask.

  • @Bond Track message counts and show a leaderboard

  • @Bond How many warnings does this user have?

The 13 tools in this group.

These are the names Bond picks between. You never type one.

get_document

Read one document from this server's data store by collection and ID.

set_document

Create a document in this server's data store, or replace one whole.

merge_document

Merge fields into a document (shallow), keeping the fields you do not mention; creates it if missing.

delete_document

Delete a document from this server's data store.

list_documents

Browse a collection: its documents with their IDs and data, paged, optionally narrowed by one field comparison.

get_field

Get one field of a document by dot path.

set_field

Set one field of a document by dot path, creating missing intermediate objects and the document itself.

increment_field

Add to a number in a stored document in one safe step, for counters, scores and XP.

push_to_field

Add a value to the end of a stored list, for achievements, inventory or history.

list_collections

List every collection in this server's data store that holds at least one document.

query_documents

Search a collection: filters, nested AND/OR groups, multi-field sorting, pagination, projection, aggregations.

get_leaderboard

Get a leaderboard: the top N documents of a collection ranked by one field, each with its rank.

set_collection_visibility

Make a data-store collection public or private.

Ask Bond for one of these.

It checks your own Discord permissions first, shows you what it is about to change, and waits.