mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-02 17:00:08 +00:00
94a9dd16b07ae085e0b030f6ef702fbe93b58a85
Discordeno
Discord API library wrapper in Deno
Starting with Discordeno is very simple, you can start from scratch without any boilerplates/frameworks: Add this snippet of code into a new TypeScript file:
import Client from "https://raw.githubusercontent.com/Skillz4Killz/Discordeno/v7/src/module/client.ts";
import { sendMessage } from "https://raw.githubusercontent.com/Skillz4Killz/Discordeno/v7/src/handlers/channel.ts";
import { Intents } from "https://raw.githubusercontent.com/Skillz4Killz/Discordeno/v7/src/types/options.ts";
import config from "./config.ts";
Client({
token: config.token,
intents: [Intents.GUILD_MESSAGES, Intents.GUILDS],
eventHandlers: {
ready: () => {
console.log(`Logged!`);
},
messageCreate: (message) => {
if (message.content === "!ping") {
sendMessage(message.channel, "Pong");
}
}
}
});
Alternatively, you can use boilerplate template repositories that were created by wonderful developers. The official one is at: GitHub but there will be more listed on the website. It is a beautiful website indeed! Check it out!
Dark Mode
Description
Languages
TypeScript
98%
MDX
0.7%
CSS
0.6%
JavaScript
0.6%
Dockerfile
0.1%

