mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-11 13:14:06 +01:00
✨ MessageAckEvent
This commit is contained in:
parent
952a056014
commit
211781278e
@ -420,6 +420,17 @@ export interface InteractionCreateEvent extends Event {
|
||||
data: Interaction;
|
||||
}
|
||||
|
||||
export interface MessageAckEvent extends Event {
|
||||
event: "MESSAGE_ACK";
|
||||
data: {
|
||||
channel_id: string;
|
||||
message_id: string;
|
||||
version?: number;
|
||||
manual?: boolean;
|
||||
mention_count?: number;
|
||||
};
|
||||
}
|
||||
|
||||
// located in collection events
|
||||
|
||||
export enum EVENTEnum {
|
||||
@ -508,6 +519,7 @@ export type EVENT =
|
||||
| "APPLICATION_COMMAND_CREATE"
|
||||
| "APPLICATION_COMMAND_UPDATE"
|
||||
| "APPLICATION_COMMAND_DELETE"
|
||||
| "MESSAGE_ACK"
|
||||
| CUSTOMEVENTS;
|
||||
|
||||
export type CUSTOMEVENTS = "INVALIDATED";
|
||||
|
@ -25,6 +25,8 @@ export interface Member {
|
||||
mute: boolean;
|
||||
pending: boolean;
|
||||
settings: UserGuildSettings;
|
||||
read_state: Record<string, string | null>;
|
||||
// virtual
|
||||
user?: User;
|
||||
}
|
||||
|
||||
@ -68,6 +70,7 @@ export const MemberSchema = new Schema({
|
||||
deaf: Boolean,
|
||||
mute: Boolean,
|
||||
pending: Boolean,
|
||||
read_state: Object,
|
||||
settings: {
|
||||
channel_overrides: [
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user