Pre-plugin moves
This commit is contained in:
parent
9fc045cd38
commit
8f7a6510eb
13 changed files with 62 additions and 52 deletions
|
@ -1,9 +1,9 @@
|
|||
import { MessageAttachment, Sticker } from "discord.js";
|
||||
import { Column, Entity, PrimaryColumn } from "typeorm";
|
||||
import { createEncryptedJsonTransformer } from "../encryptedJsonTransformer";
|
||||
import { Attachment, Sticker } from "eris";
|
||||
|
||||
export interface ISavedMessageData {
|
||||
attachments?: Attachment[];
|
||||
attachments?: MessageAttachment[];
|
||||
author: {
|
||||
username: string;
|
||||
discriminator: string;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { MessageAttachment } from "discord.js";
|
||||
import { Column, Entity, PrimaryColumn } from "typeorm";
|
||||
import { Attachment } from "eris";
|
||||
import { StrictMessageContent } from "../../utils";
|
||||
|
||||
@Entity("scheduled_posts")
|
||||
|
@ -18,7 +18,7 @@ export class ScheduledPost {
|
|||
|
||||
@Column("simple-json") content: StrictMessageContent;
|
||||
|
||||
@Column("simple-json") attachments: Attachment[];
|
||||
@Column("simple-json") attachments: MessageAttachment[];
|
||||
|
||||
@Column({ type: String, nullable: true }) post_at: string | null;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue