mirror of
https://github.com/janderedev/automod.git
synced 2024-07-08 19:43:25 +00:00
19 lines
396 B
TypeScript
19 lines
396 B
TypeScript
import InfractionType from "./InfractionType";
|
|
|
|
class Infraction {
|
|
_id: string;
|
|
type: InfractionType;
|
|
actionType?: 'kick'|'ban';
|
|
user: string;
|
|
createdBy: string|null;
|
|
server: string;
|
|
channel?: string;
|
|
message?: string;
|
|
targetMessages?: string[];
|
|
reason: string;
|
|
date: number;
|
|
expires?: number; // Only applies to bans
|
|
}
|
|
|
|
export default Infraction;
|