mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-20 16:25:03 +00:00
9 lines
296 B
TypeScript
9 lines
296 B
TypeScript
import { CounterEventEmitter, CountersPluginType } from "../types";
|
|
import { GuildPluginData } from "knub";
|
|
|
|
export function offCounterEvent(
|
|
pluginData: GuildPluginData<CountersPluginType>,
|
|
...rest: Parameters<CounterEventEmitter["off"]>
|
|
) {
|
|
return pluginData.state.events.off(...rest);
|
|
}
|