1.0.0@dev-7
An Object Oriented Discord API wrapper for Deno.
Repository
Current version released
3 years ago
Dependencies
deno.land/x
std
DenoCordTS
An Object Oriented Discord Api Wrapper for Deno.
Basic Example:
import { Client } from "https://deno.land/x/denocordts/mod.ts";
const client = new Client({
token: "...",
clientId: "...",
intents: ["Guilds", "GuildMessages", "MessageContent", "GuildMembers"],
});
client.on("Ready", () => console.log(`Logged in as ${client.user.username}`));
client.on("MessageCreate", async (m) => {
if (m.content == "!ping") await m.reply({ content: "Pong" });
});