@typed-discord/rest is a strongly-typed, lightweight and easy to use Discord REST API client generated directly from the latest official Discord OpenAPI specification.
⚠️ This project is in its initial release phase and breaking changes may occur at any time.
import { Bot } from "@typed-discord/rest/clients";
const client = new Bot("your-bot-token");
const user = await client.getMyUser();
console.log(user);
The complete documentation is available at the GitHub Pages site.
MIT © Adrien Simonnet