fix: errors caused by MessageResponse interface now returning GuildMemberResponse instead of UserResponse
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
This commit is contained in:
parent
6d5f1f0d0a
commit
b1cf9df199
4 changed files with 20 additions and 20 deletions
|
@ -45,7 +45,7 @@ export interface MessageResponse {
|
|||
user_uuid: string,
|
||||
message: string,
|
||||
reply_to: string | null,
|
||||
user: UserResponse,
|
||||
member: GuildMemberResponse,
|
||||
}
|
||||
|
||||
export interface InviteResponse {
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue