- Preparing search index...
- The search index is not available
Guilded.TS
Class Event<Event>Abstract
Properties
Optional
once
once?: boolean
Methods
Abstract
execute
- execute(...args: [client: Client] | [client: Client] | [client: Client] | [client: Client, data: any] | [server: Server, addedBy: ServerMember] | [server: Server, removedBy?: ServerMember] | [message: Message] | [newMessage: Message, oldMessage?: Message] | [message: APIMessageSummary | Message] | [serverMember: ServerMember] | [data: {
isBan?: boolean;
isKick?: boolean;
serverId: string;
userId: string;
}, server: Server] | [serverBan: ServerBan] | [serverBan: ServerBan] | [newServerMember: ServerMember, oldServerMember?: ServerMember] | [newServerMembers: Collection<string, ServerMember>, oldServerMembers: Collection<string, ServerMember>] | [channel: Channel] | [newChannel: Channel, oldChannel?: Channel] | [channel: Channel] | [webhook: Webhook] | [newWebhook: Webhook, oldWebhook?: Webhook] | [doc: Doc] | [newDoc: Doc, oldDoc?: Doc] | [doc: Doc] | [event: CalendarEvent] | [newCalendarEvent: CalendarEvent, oldCalendarEvent?: CalendarEvent] | [event: CalendarEvent] | [forumTopic: ForumTopic] | [newForumTopic: ForumTopic, oldForumTopic?: ForumTopic] | [forumTopic: ForumTopic] | [forumTopic: ForumTopic] | [forumTopic: ForumTopic] | [forumTopic: ForumTopic] | [forumTopic: ForumTopic] | [newCalendarEventRsvp: CalendarEventRsvp, oldCalendarEventRsvp?: CalendarEventRsvp] | [newCalendarEventRsvps: Collection<string, CalendarEventRsvp>, oldCalendarEventRsvps: Collection<string, CalendarEventRsvp>] | [calendarEventRsvp: CalendarEventRsvp] | [listItem: ListItem] | [newListItem: ListItem, oldListItem?: ListItem] | [listItem: ListItem] | [listItem: ListItem] | [listItem: ListItem] | [reaction: MessageReaction] | [reaction: MessageReaction]): unknown
-
Parameters
-
Rest
...args: [client: Client] | [client: Client] | [client: Client] | [client: Client, data: any] | [server: Server, addedBy: ServerMember] | [server: Server, removedBy?: ServerMember] | [message: Message] | [newMessage: Message, oldMessage?: Message] | [message: APIMessageSummary | Message] | [serverMember: ServerMember] | [data: {
isBan?: boolean;
isKick?: boolean;
serverId: string;
userId: string;
}, server: Server] | [serverBan: ServerBan] | [serverBan: ServerBan] | [newServerMember: ServerMember, oldServerMember?: ServerMember] | [newServerMembers: Collection<string, ServerMember>, oldServerMembers: Collection<string, ServerMember>] | [channel: Channel] | [newChannel: Channel, oldChannel?: Channel] | [channel: Channel] | [webhook: Webhook] | [newWebhook: Webhook, oldWebhook?: Webhook] | [doc: Doc] | [newDoc: Doc, oldDoc?: Doc] | [doc: Doc] | [event: CalendarEvent] | [newCalendarEvent: CalendarEvent, oldCalendarEvent?: CalendarEvent] | [event: CalendarEvent] | [forumTopic: ForumTopic] | [newForumTopic: ForumTopic, oldForumTopic?: ForumTopic] | [forumTopic: ForumTopic] | [forumTopic: ForumTopic] | [forumTopic: ForumTopic] | [forumTopic: ForumTopic] | [forumTopic: ForumTopic] | [newCalendarEventRsvp: CalendarEventRsvp, oldCalendarEventRsvp?: CalendarEventRsvp] | [newCalendarEventRsvps: Collection<string, CalendarEventRsvp>, oldCalendarEventRsvps: Collection<string, CalendarEventRsvp>] | [calendarEventRsvp: CalendarEventRsvp] | [listItem: ListItem] | [newListItem: ListItem, oldListItem?: ListItem] | [listItem: ListItem] | [listItem: ListItem] | [listItem: ListItem] | [reaction: MessageReaction] | [reaction: MessageReaction]
Returns unknown
The builder for a event.
Example