skyapi.js
Version:
An NPM package used to interact with the Skyline Bots API
21 lines (15 loc) • 367 B
TypeScript
import * as discord from "discord.js"
declare module "skyapi.js" {
export class Client {
constructor(client: discord.Client, options: SkyapiOptions)
autopost(options: AutopostOptions): Promise<boolean>;
postStats(): Promise<boolean>;
}
interface SkyapiOptions {
key: string;
}
interface AutopostOptions {
interval: number;
timeout: number;
}
}