Embed cache

This commit is contained in:
Madeline
2022-10-03 23:50:34 +11:00
parent e8815f1fd5
commit 83ed2c8fdd
3 changed files with 37 additions and 7 deletions
+12
View File
@@ -0,0 +1,12 @@
import { BaseClass } from "./BaseClass";
import { Entity, Column } from "typeorm";
import { Embed } from "./Message";
@Entity("embed_cache")
export class EmbedCache extends BaseClass {
@Column()
url: string;
@Column({ type: "simple-json" })
embed: Embed;
}
+2 -1
View File
@@ -7,6 +7,7 @@ export * from "./Categories";
export * from "./Channel";
export * from "./Config";
export * from "./ConnectedAccount";
export * from "./EmbedCache";
export * from "./Emoji";
export * from "./Guild";
export * from "./Invite";
@@ -29,4 +30,4 @@ export * from "./VoiceState";
export * from "./Webhook";
export * from "./ClientRelease";
export * from "./BackupCodes";
export * from "./Note";
export * from "./Note";