All Projects → Quahu → Disqord

Quahu / Disqord

Licence: LGPL-3.0 license
An asynchronous Discord API wrapper for .NET.

Programming Languages

C#
18002 projects

Projects that are alternatives of or similar to Disqord

MaSH
A minimalistic Discord API wrapper made in Posix Shell
Stars: ✭ 22 (-85.81%)
Mutual labels:  discord-api, discord-library, discord-api-wrapper
hata
Async Discord API wrapper.
Stars: ✭ 156 (+0.65%)
Mutual labels:  discord-api, discord-api-wrapper
QDiscord
QDiscord - An unofficial C++ and Qt wrapper for the Discord API.
Stars: ✭ 21 (-86.45%)
Mutual labels:  discord-api, discord-library
gencord
A simple, beginner-friendly, and easy-to-use library for interacting with the Discord API, with minimal syntax.
Stars: ✭ 20 (-87.1%)
Mutual labels:  discord-api, discord-api-wrapper
discljord
A Clojure wrapper library for the Discord API, with full API coverage (except voice, for now), and high scalability
Stars: ✭ 179 (+15.48%)
Mutual labels:  discord-api, discord-api-wrapper
Haxicord
The most popular discord API Haxe library (because no others are good enough to be called a library)
Stars: ✭ 42 (-72.9%)
Mutual labels:  discord-api, discord-library
Discord-Selfbot
Discord.js selfbot
Stars: ✭ 24 (-84.52%)
Mutual labels:  discord-api, discord-library
arcscord
A Discord library written in typescript
Stars: ✭ 18 (-88.39%)
Mutual labels:  discord-api, discord-library
Clamor
The Python Discord API Framework
Stars: ✭ 14 (-90.97%)
Mutual labels:  discord-api, discord-api-wrapper
Discord.CPP
Discord.CPP is a C++ library for interaction with the Discord API.
Stars: ✭ 46 (-70.32%)
Mutual labels:  discord-api, discord-library
discord-rose
The simple Discord library for advanced users
Stars: ✭ 37 (-76.13%)
Mutual labels:  discord-api, discord-library
Diskord
[Mirror of GitLab] A Kotlin client for Discord with a light wrapper on the REST APIs and a simple to use DSL for basic bots.
Stars: ✭ 146 (-5.81%)
Mutual labels:  discord-api, discord-api-wrapper
calamity
A library for writing discord bots in haskell
Stars: ✭ 77 (-50.32%)
Mutual labels:  discord-api, discord-library
library
🐍 A Python library for Discord.
Stars: ✭ 648 (+318.06%)
Mutual labels:  discord-api, discord-library
disml
Pure OCaml bindings to the Discord API. Mirror of Gitlab repo.
Stars: ✭ 36 (-76.77%)
Mutual labels:  discord-api, discord-library
DPP
C++ Discord API Bot Library - D++ is Lightweight and scalable for small and huge bots!
Stars: ✭ 560 (+261.29%)
Mutual labels:  discord-api, discord-api-wrapper
sluice
Asynchronous byte buffers and pipes for concurrent I/O programming.
Stars: ✭ 91 (-41.29%)
Mutual labels:  asynchronous
Pyaiodl
A python Asynchronous Downloader - Pyaiodl
Stars: ✭ 40 (-74.19%)
Mutual labels:  asynchronous
PromisedFuture
A Swift based Future/Promises framework to help writing asynchronous code in an elegant way
Stars: ✭ 75 (-51.61%)
Mutual labels:  asynchronous
eventsourcing-go
Event Sourcing + CQRS using Golang Tutorial
Stars: ✭ 75 (-51.61%)
Mutual labels:  asynchronous

Disqord

An asynchronous Discord API wrapper for .NET 5 that aims to make Discord bot development simple and enjoyable without needless boilerplate.

  • Designed around Microsoft's dependency injection abstractions
  • Integrates seamlessly with the Generic Host
  • Replaceable components, stateless REST, customizable caching, and more

AppVeyor NuGet MyGet Discord

Documentation

Documentation is available here.

Installation

Nightly Disqord builds can be pulled as NuGet packages from the MyGet feed: https://www.myget.org/F/disqord/api/v3/index.json.

Minimal Example

Typing ?ping or @YourBot ping in a channel will make the bot respond with Pong!.

using Disqord.Bot;
using Disqord.Bot.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using Qmmands;

await new HostBuilder()
    .ConfigureAppConfiguration(x =>
    {
        // We will use the environment variable DISQORD_TOKEN for the bot token.
        x.AddEnvironmentVariables("DISQORD_");
    })
    .ConfigureLogging(x =>
    {
        x.AddSimpleConsole();
    })
    .ConfigureDiscordBot((context, bot) =>
    {
        bot.Token = context.Configuration["TOKEN"];
        bot.Prefixes = new[] { "?" };
    })
    .RunConsoleAsync();

public class ExampleModule : DiscordModuleBase
{
    [Command("ping")]
    public DiscordCommandResult Ping()
        => Response("Pong!");
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].