ayntee 175b4230ed Better Docs 🎉 (#205)
* docs: rename docs to _docs

* docs: initialize a vuepress app

* docs: customize vuepress config

* docs: remove unnecessary files from archived docs

* ci: add deployment workflow

* docs: use vuepress instead uh-idk-template-ig

* ci(deploy): cd into docs dir

* ci(deploy): cd into docs

* ci(deploy): change setup-node version to v2

* revert: "ci(deploy): change setup-node version to v1"

* ci(deploy): run workflow on push

* chore: add dist/ to .gitignore

* docs: remove dist from the docs dir

* ci(deploy): correct publish_dir path

* ci(deploy): run the deploy workflow only on push to master

* docs: correct repo url
2020-11-19 23:34:50 +04:00
2020-11-19 23:34:50 +04:00
2020-11-19 23:34:50 +04:00
2020-11-18 10:43:48 +04:00
2020-11-18 09:32:38 -05:00
2020-07-12 22:45:51 -04:00
2020-05-16 20:29:48 +08:00
2020-08-14 11:54:38 -04:00
2020-11-19 23:34:50 +04:00
2020-05-06 15:28:47 -04:00
2020-10-30 03:19:15 -07:00
2020-11-09 16:20:42 -05:00
2020-02-06 23:18:13 -05:00
2020-10-02 01:35:48 -07:00
2020-11-19 23:34:50 +04:00
2020-11-12 23:30:51 +04:00
2020-02-20 15:20:43 -05:00

Discordeno

Discord API library wrapper in Deno

Discord Lint Test nest badge

Why Discordeno?

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

The instructions below are meant for advanced developers!

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 StartBot, { sendMessage, Intents } from "https://x.nest.land/Discordeno@9.0.15/mod.ts";
import config from "./config.ts";

StartBot({
  token: config.token,
  intents: [Intents.GUILD_MESSAGES, Intents.GUILDS],
  eventHandlers: {
    ready: () => {
      console.log('Successfully connected to gateway');
    },
    messageCreate: (message) => {
      if (message.content === "!ping") {
        sendMessage(message.channelID, "Pong");
      }
    },
  },
});

Alternatively, you can use boilerplate template repositories that were created by wonderful developers. Review the list on the website, and add any of yours if you make your own.

Documentation

License

MIT © Skillz4Killz

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