Skip to main content
Your bot can be in many Discord servers at the same time. So when you make a variable, DogeBot asks: should every server have its own box, or should all servers share one box? This is the Where is it kept? question, also called the Scope.

The two choices

Server Specific

A different value for every Discord server.Server A has its own log channel. Server B has a different one.

Global

One shared value everywhere, in every server your bot is in.One total of “giveaways run by this bot”, counted across all servers.
On the Database page each variable shows where it’s kept: Server Specific or Global.

Scope and the User type together

The scope works together with the type.

Which one should I pick?

1

Is your bot only in one server?

It does not really matter. Pick Server Specific.
2

Should each server have its own economy, settings or counters?

Pick Server Specific.
3

Should it be the same everywhere?

Like global coins or a member’s global profile? Pick Global.
If you are not sure, pick Server Specific. It is the safest choice, because one server can never change another server’s values.
See Make a variable for all the other choices.