Skip to content
Jillian Ogle edited this page Jun 10, 2019 · 11 revisions

User Model:

{
    "username" : “name of user”,
    "check_username" : “stored in db as lowercase username” //internal
    "id" : “unique identifier”,
    "created" : “timestamp”,
    "type" : [“global mod”, “staff”], // To be deprecated & moved into status
    "status" : {
        "timeout" : bool,
        "types" : [“moderator”, “editor”],
    },
    "settings" : {
        "color" : “custom user color”,
    }
    "session" : { /* Store the current session for validation */ },
}
Clone this wiki locally