Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/higa/deno/dep.ts>EventEmitter#off

A package to interract with the Discord API coded by myself
Latest
method EventEmitter.prototype.off
import { EventEmitter } from "https://deno.land/x/higa@0.1.2/deno/dep.ts";

Removes listener(s) from targeted event. By default it gonna delete all listeners from particular event. You can delete specific listener by parsing it as second parameter. It gonna return boolean value depending on result.

Type Parameters

Event extends keyof T

Parameters

event: Event
optional
callback: T[Event]

Returns

boolean