Merge remote-tracking branch 'origin/main' into better-themes

This commit is contained in:
Twig 2025-08-05 04:01:45 +02:00
commit 7d267b436e
Signed by: twig
SSH key fingerprint: SHA256:nBO+OwpTkd8LYhe38PIqdxmDvkIg9Vw2EbrRZM97dkU
6 changed files with 40 additions and 23 deletions

View file

@ -31,6 +31,13 @@ export interface GuildMemberResponse {
user: UserResponse
}
export interface GuildMembersResponse {
objects: GuildMemberResponse[],
amount: number,
pages: number,
page: number
}
export interface ChannelResponse {
uuid: string,
guild_uuid: string,
@ -45,7 +52,7 @@ export interface MessageResponse {
user_uuid: string,
message: string,
reply_to: string | null,
user: UserResponse,
member: GuildMemberResponse,
}
export interface InviteResponse {

View file

@ -1,9 +1,9 @@
import type { MessageResponse, UserResponse } from "./interfaces";
import type { GuildMemberResponse, MessageResponse, UserResponse } from "./interfaces";
export interface MessageProps {
class?: string,
img?: string | null,
author: UserResponse
author: GuildMemberResponse
text: string,
timestamp: number,
format: "12" | "24",