UNPKG

ts3-ladon

Version:

Ladon is a versatile framework designed for creating powerful TS3 (TeamSpeak 3) query bots. With Ladon, developers can effortlessly implement commands, handle events, and utilize a variety of utility functions to enhance their bot's capabilities. Whether

15 lines (14 loc) 454 B
import { TeamSpeakClient } from "ts3-nodejs-library"; type CommandArgument = { name: string; type: "string" | "number"; }; interface ICommand { readonly name: string; readonly fullText: boolean; readonly args?: CommandArgument[]; readonly adminCommand?: boolean; readonly help?: string; handler: (client: TeamSpeakClient, fullText: string, ...args: Array<number | string>) => void; } export { ICommand, CommandArgument };