mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-18 15:45:03 +00:00
GuildSavedMessages: save messages in a more compact way
This commit is contained in:
parent
62b560a507
commit
b2a7887fef
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