component events
This commit is contained in:
8
library/core/component-event.ts
Normal file
8
library/core/component-event.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
import type { ReactNode } from "react"
|
||||
import type { ReacordInstance } from "./instance"
|
||||
|
||||
export type ComponentEvent = {
|
||||
// todo: add more info, like user, channel, member, guild, etc.
|
||||
reply(content?: ReactNode): ReacordInstance
|
||||
ephemeralReply(content?: ReactNode): ReacordInstance
|
||||
}
|
||||
Reference in New Issue
Block a user