AutoMod/bot/src/struct/DbUser.ts
2022-04-10 15:44:54 +02:00

14 lines
375 B
TypeScript

// 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;
// Optional reason why the user is blacklisted
blacklistReason?: string;
}