🚧 webhook

This commit is contained in:
Flam3rboy
2021-09-14 22:15:55 +02:00
parent 8f862f0e5d
commit df2b83ac15
11 changed files with 369 additions and 18 deletions
+3 -3
View File
@@ -18,13 +18,13 @@ export class Webhook extends BaseClass {
@Column({ type: "simple-enum", enum: WebhookType })
type: WebhookType;
@Column({ nullable: true })
name?: string;
@Column()
name: string;
@Column({ nullable: true })
avatar?: string;
@Column({ nullable: true })
@Column({ nullable: true, select: false })
token?: string;
@Column({ nullable: true })