From c885fd55032f0ffebfdb82a4bd11044e394b8955 Mon Sep 17 00:00:00 2001 From: Madeline <46743919+MaddyUnderStars@users.noreply.github.com> Date: Mon, 3 Oct 2022 23:50:34 +1100 Subject: Embed cache --- src/util/entities/EmbedCache.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/util/entities/EmbedCache.ts (limited to 'src/util/entities/EmbedCache.ts') diff --git a/src/util/entities/EmbedCache.ts b/src/util/entities/EmbedCache.ts new file mode 100644 index 00000000..14881ccf --- /dev/null +++ b/src/util/entities/EmbedCache.ts @@ -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; +} \ No newline at end of file -- cgit 1.5.1