mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-10 12:25:02 +00:00
7 lines
281 B
TypeScript
7 lines
281 B
TypeScript
import { GuildPluginData } from "knub";
|
|
import { CountersPluginType } from "../types";
|
|
|
|
export function counterExists(pluginData: GuildPluginData<CountersPluginType>, counterName: string) {
|
|
const config = pluginData.config.get();
|
|
return config.counters[counterName] != null;
|
|
}
|