ITOH 24d4489ea4 refactor!: change certain events args order (#238)
* Make them Optional

* Allow/Deny changed to Strings in v8

* Revert "Allow/Deny changed to Strings in v8"

This reverts commit 3ffb55705c.

* Revert "Revert "Allow/Deny changed to Strings in v8""

This reverts commit 4fb7ef271e.

* Revert "Revert "Revert "Allow/Deny changed to Strings in v8"""

This reverts commit d5a020e307.
2020-12-09 11:20:45 +04:00
2020-12-07 14:24:47 +00:00
2020-12-08 11:25:12 +04:00
2020-11-19 15:12:15 +04:00
2020-05-16 20:29:48 +08:00
2020-12-08 11:19:35 +04:00
2020-11-22 18:43:48 +04:00
2020-11-17 23:43:04 -05:00

Discordeno

Discord API library for Deno

Discord Lint Test

  • 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://deno.land/x/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

MIT © discordeno

Languages
TypeScript 98%
MDX 0.7%
CSS 0.6%
JavaScript 0.6%
Dockerfile 0.1%