Skip to content

Instantly share code, notes, and snippets.

@ha6000
Created February 18, 2020 15:32
Show Gist options
  • Save ha6000/2b56454897f898a0806ea2a157230bbd to your computer and use it in GitHub Desktop.
Save ha6000/2b56454897f898a0806ea2a157230bbd to your computer and use it in GitHub Desktop.
import Discord from "discord.js";
interface ClientOptions {
token: String;
logChannel: Discord.Snowflake;
}
declare class Client extends Discord.Client {
constructor(opts: ClientOptions);
}
declare class Handler {
constructor(Discord: any);
Discord: any;
Client: Client;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment