feat: update members fetching to handle endpoint pagination update
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful

This commit is contained in:
SauceyRed 2025-08-05 03:28:46 +02:00
commit db6d13512a
Signed by: sauceyred
GPG key ID: 270B096EF6E9A462
3 changed files with 21 additions and 4 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 {