feat: timeout support
This commit is contained in:
parent
06877e90cc
commit
39e0dfa27f
23 changed files with 532 additions and 92 deletions
|
@ -10,6 +10,8 @@ export class Mute {
|
|||
@PrimaryColumn()
|
||||
user_id: string;
|
||||
|
||||
@Column() type: number;
|
||||
|
||||
@Column() created_at: string;
|
||||
|
||||
@Column({ type: String, nullable: true }) expires_at: string | null;
|
||||
|
@ -17,4 +19,8 @@ export class Mute {
|
|||
@Column() case_id: number;
|
||||
|
||||
@Column("simple-array") roles_to_restore: string[];
|
||||
|
||||
@Column({ type: String, nullable: true }) mute_role: string | null;
|
||||
|
||||
@Column({ type: String, nullable: true }) timeout_expires_at: string | null;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue