import { MetadataStorage , DiscordEvents , DOn } from "../.." ; link param event export function Once ( event ) { return ( target , key , descriptor ) : void => { const on = DOn . create ( event , true ) . decorate ( target . constructor , key , descriptor . value ) ; MetadataStorage . instance . addOn ( on ) ; } ; }