import { DiscordEvents } from "../.." ; import { Method } from "./Method" ; export class DOn extends Method { protected _event : DiscordEvents ; protected _once : boolean ; get event ( ) { return this . _event ; } set event ( value ) { this . _event = value ; } get once ( ) { return this . _once ; } set once ( value ) { this . _once = value ; } protected constructor ( ) { super ( ) ; } static create ( event , once ) { const on = new DOn ( ) ; on . _event = event ; on . _once = once ; return on ; } parseParams ( ) { return [ ] ; } }