AutoMod/lib/types/DbUser.ts
2022-07-09 09:45:15 +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;
}