mirror of
https://github.com/discordeno/discordeno.git
synced 2026-05-31 16:00:07 +00:00
7764b0cdfb4e0cdb6b96d3604aa878b2b1a7ff28
Discordeno
Discord API library wrapper in Deno
- First-class TypeScript & JavaScript support
- Security & stable
- Builtin Documentation
- Minimalistic
- Functional API
- Actively maintained
Beginner Developers
Don't worry a lot of developers start out coding their first projects as a Discord bot (I did 😉) and it is not so easy to do so. Discordeno is built considering all the issues with pre-existing libraries and issues that I had when I first started out coding bots. If you are a beginner developer, you may check out these awesome official and unofficial boilerplates:
If you do not wish to use a boilerplate, you may continue reading.
Advanced Developers
Here's a minimal example to get started with:
import StartBot, { sendMessage, Intents } from "https://x.nest.land/Discordeno@9.4.0/mod.ts";
StartBot({
token: "BOT TOKEN",
intents: [Intents.GUILD_MESSAGES, Intents.GUILDS],
eventHandlers: {
ready: () => console.log('Successfully connected to gateway'),
messageCreate: (message) => {
if (message.content === "hello") {
sendMessage(message.channelID, "Hi there!");
}
},
},
});
Documentation
Contributing
Code of Conduct
Discordeno expects participants to adhere to our Code of Conduct.
Contributing Guide
We appreciate your help!
Before contributing, please read the Contributing Guide.
License
Description
Languages
TypeScript
98%
MDX
0.7%
CSS
0.6%
JavaScript
0.6%
Dockerfile
0.1%