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:
parent
cfc36be127
commit
01d73565b6
2 changed files with 9 additions and 6 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue