mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-11-15 02:21:21 +01:00
38 lines
570 B
Plaintext
38 lines
570 B
Plaintext
session:
|
|
- unauthenticated T/F
|
|
- user_id - random generated 4 digit discrim upon nick creation, otherwise the discord client id if authed
|
|
- username
|
|
- user_keys {guildid: key, ...} - unused if authed
|
|
|
|
database:
|
|
|
|
unauthenticated Users:
|
|
- id
|
|
- guildid
|
|
- username
|
|
- discrim
|
|
- user key
|
|
- ip address
|
|
- last used timestamp
|
|
- revoked - cannot be used again if true
|
|
|
|
unauth bans:
|
|
- id
|
|
- guildid
|
|
- ip address
|
|
- last known username
|
|
- last known discrim
|
|
- timestamp
|
|
- reason
|
|
|
|
auth users:
|
|
- id
|
|
- guildid
|
|
- clientid
|
|
- timestamp
|
|
|
|
guilds:
|
|
- id
|
|
- guildid
|
|
- enable unauthenticated users
|