2022-04-09 13:03:12 +02:00
|
|
|
// Stores global info about a particular user in the database
|
|
|
|
export default class DbUser {
|
|
|
|
// User ID
|
|
|
|
id: string;
|
|
|
|
|
|
|
|
// Blacklists the user from interacting with the bot
|
|
|
|
ignore?: boolean;
|
|
|
|
|
|
|
|
// Whether the user is globally marked as bad actor
|
|
|
|
globalBlacklist?: boolean;
|
2022-04-10 15:44:54 +02:00
|
|
|
|
|
|
|
// Optional reason why the user is blacklisted
|
|
|
|
blacklistReason?: string;
|
2022-04-09 13:03:12 +02:00
|
|
|
}
|