GithubHelp home page GithubHelp logo

rk3141 / discordeno Goto Github PK

View Code? Open in Web Editor NEW

This project forked from discordeno/discordeno

0.0 0.0 0.0 4.75 MB

Discord API library for Deno (officially vetted library by Discord).

Home Page: https://discordeno.mod.land

License: MIT License

TypeScript 99.82% Dockerfile 0.18%

discordeno's Introduction

Discordeno

Discord API library for Deno

Discord Lint Test

  • First-class TypeScript & JavaScript support
  • Secure & stable
  • Efficient & inimalistic
  • Function-based API
  • Builtin Documentation

Usage

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 { Intents, startBot } from "https://deno.land/x/[email protected]/mod.ts";

startBot({
  token: "BOT TOKEN",
  intents: [Intents.GUILDS, Intents.GUILD_MESSAGES],
  eventHandlers: {
    ready() {
      console.log("Successfully connected to gateway");
    },
    messageCreate(message) {
      if (message.content === "!ping") {
        message.reply("Pong using Discordeno!");
      }
    },
  },
});

Useful Links

Contributing

We appreciate your help!

Before contributing, please read the Contributing Guide.

License

MIT ยฉ discordeno

discordeno's People

Contributors

skillz4killz avatar ayntee avatar itohatweb avatar triformine avatar androz2091 avatar binotaliu avatar suyashtnt avatar resynth1943 avatar ntmnathan avatar axisiscool avatar bryanberger avatar eternalllight avatar daggy1234 avatar lukasdoesdev avatar mito9999 avatar molteber avatar oscar-wos avatar squarepear avatar theblueoompaloompa avatar wallythepenguin avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.