Revert "🚧 webhook"

This reverts commit df2b83ac15.
This commit is contained in:
Flam3rboy
2021-09-16 20:49:07 +02:00
parent 94ee8fc386
commit d2d7dd0561
11 changed files with 18 additions and 369 deletions
+3 -3
View File
@@ -18,13 +18,13 @@ export class Webhook extends BaseClass {
@Column({ type: "simple-enum", enum: WebhookType })
type: WebhookType;
@Column()
name: string;
@Column({ nullable: true })
name?: string;
@Column({ nullable: true })
avatar?: string;
@Column({ nullable: true, select: false })
@Column({ nullable: true })
token?: string;
@Column({ nullable: true })
+1 -1
View File
@@ -1,5 +1,5 @@
export const DOUBLE_WHITE_SPACE = /\s\s+/g;
export const SPECIAL_CHAR = /[@#\r\n\t\f\v]/gu;
export const SPECIAL_CHAR = /[@#`:\r\n\t\f\v\p{C}]/gu;
export const CHANNEL_MENTION = /<#(\d+)>/g;
export const USER_MENTION = /<@!?(\d+)>/g;
export const ROLE_MENTION = /<@&(\d+)>/g;