-
Notifications
You must be signed in to change notification settings - Fork 0
Roles
nin0dev edited this page Oct 21, 2024
·
1 revision
Roles are used to determine permissions and name tags.
They are expressed as a bitfield. Here is a list of roles in a JS constant:
const Role = {
Guest: 1 << 0,
User: 1 << 1,
Bot: 1 << 2,
System: 1 << 3,
Mod: 1 << 4,
Admin: 1 << 5
};These users do not have persistent user IDs. They are capped to 300 characters.
Normal users.
These users are bots.
These are system messages sent by the nin0chat backend.
These users will have moderation permissions over the backend.
Reserved to nin0, this role has extra powers over staff members.