feat(events): Adds AcknowledgableEvent
This commit is contained in:
parent
6d7a0e7cfb
commit
b82ab7dbc4
18 changed files with 228 additions and 77 deletions
14
source/Events/EventClasses/ModalInteractionEvent.ts
Normal file
14
source/Events/EventClasses/ModalInteractionEvent.ts
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
import {ModalSubmitInteraction} from "discord.js";
|
||||
import {EventType, NormalEvent} from "../EventHandler.types";
|
||||
|
||||
export class ModalInteractionEvent implements NormalEvent {
|
||||
|
||||
type: EventType.Normal = EventType.Normal;
|
||||
|
||||
constructor(
|
||||
public readonly interaction: ModalSubmitInteraction
|
||||
) {
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue