3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-11 04:45:02 +00:00

GuildSavedMessages: save messages in a more compact way

This commit is contained in:
Dragory 2018-11-24 14:53:55 +02:00
parent cfc36be127
commit 01d73565b6
2 changed files with 9 additions and 6 deletions

View file

@ -2,13 +2,13 @@ import { Entity, Column, PrimaryColumn } from "typeorm";
import { Message } from "eris";
export interface ISavedMessageData {
attachments: object[];
attachments?: object[];
author: {
username: string;
discriminator: string;
};
content: string;
embeds: object[];
embeds?: object[];
}
@Entity("messages")