feat(dashboard): add news
This commit is contained in:
parent
ce323096e6
commit
92e7e1f1cb
5 changed files with 73 additions and 5 deletions
|
|
@ -137,3 +137,17 @@ export type GuildChannelConfig = {
|
|||
message_delete: string;
|
||||
message_delete_bulk: string;
|
||||
};
|
||||
|
||||
export type Meta = {
|
||||
guilds: number;
|
||||
invite_url: string;
|
||||
news: NewsMessage[];
|
||||
};
|
||||
|
||||
export type NewsMessage = {
|
||||
author: string;
|
||||
content: string;
|
||||
attachment_urls: string[];
|
||||
posted_at: string;
|
||||
edited_at: string | null;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue