Giter VIP home page Giter VIP logo

discordeno's Introduction

Discordeno

Discord API library for Deno

Discordeno follows Semantic Versioning

Discord Lint Test Coverage

Features

  • Secure & stable: Discordeno is actively maintained to ensure great performance and convenience. Moreover, it internally checks all missing permissions before forwarding a request to the Discord API so that the client does not get globally-banned by Discord.
  • Simple, Efficient, & Lightweight: Discordeno is simplistic, easy-to-use, versatile while being efficient and lightweight. Follows Convention Over Configuration design paradigm โ€• prefers defaults options or values that are recommended by Discord or the best configuration for the majority of the users.
  • Functional API: Functional API ensures an overall concise yet performant code while removing the difficulties of extending built-in classes and inheritance.

Getting Started

Minimal Example

Here is a minimal example to get started with:

import { startBot } from "https://deno.land/x/discordeno/mod.ts";

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

Templates

Note to developers: don't worry a lot of developers start out programming a Discord bot as their first project (I did ๐Ÿ˜‰) and it is not so easy to do so. Discordeno is designed and built considering all the issues that I and a lot of developers had when I first started out coding Discord bots with existing libraries. If you are a beginner, you can check out these awesome official and unofficial templates:

Links

Contributing

We appreciate your help! Before contributing, please read the Contributing Guide.

discordeno's People

Contributors

akhill10 avatar androz2091 avatar axisiscool avatar ayntee avatar binotaliu avatar bryanberger avatar daggy1234 avatar dhruvin-purohit avatar eternalllight avatar itohatweb avatar lukasdoesdev avatar mito9999 avatar molteber avatar ntmnathan avatar oscar-wos avatar resynth1943 avatar skillz4killz avatar squarepear avatar suyashtnt avatar theblueoompaloompa avatar triformine 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.