Discord API Libraries 🚀
A curated list of open-source libraries for interacting with Discord's API.
Something off? Want to contribute? Take a peek at our contributing guide.
Resources
Community
Tools
Libraries
C
-
concord - A Discord API wrapper library made in C
-
libdiscord (archived) - A Discord library written in C
-
orca - C Multi-REST API library for Discord, Slack, Reddit, etc.
C#
-
DisCatSharp - Your library to write discord apps in C# with focus on always providing access to the latest discord features
-
discord-rpc-csharp - C# custom implementation for Discord Rich Presence. Not deprecated and still available!
-
Discord.Net - An unofficial .Net wrapper for the Discord API (https://discord.com/)
-
Discord.Net-Labs (archived) - An experimental fork of Discord.Net that implements the newest discord features for testing and development to eventually get merged into Discord.Net
-
DiscordUnity - A DiscordAPI made for Unity and only usable for Unity. It contains special features to make it all work.
-
Discore - A light-weight .NET library for creating Discord bots.
-
Disqord - Asynchronous Discord API wrapper and bot framework for .NET.
-
DSharpPlus - A .NET library for making bots using the Discord API.
-
NetCord - The modern and fully customizable C# Discord library.
-
Remora.Discord - A data-oriented C# Discord library, focused on high-performance concurrency and robust design.
C++
-
aegis.cpp (archived) - Discord C++ library for interfacing with the API. Join our server: https://discord.gg/w7Y3Bb8
-
DiscordCoreAPI - A bot library for Discord, written in C++, and featuring explicit multithreading through the usage of custom, asynchronous C++ CoRoutines.
-
discordpp - A Modularized C++ Library for the Discord API
-
DisCPP (archived) - Simplified, but feature rich Discord API wrapper written in modern C++.
-
DPP - C++ Discord API Bot Library - D++ is Lightweight and scalable for small and huge bots!
-
sleepy-discord - C++ library for the Discord chat client. Please use Rust for new bots
Clojure
-
discljord - A Clojure wrapper library for the Discord API, with full API coverage (except voice, for now), and high scalability
-
discord.clj - A Clojure library for creating Discord bots
-
ring-discord-auth - Fast and secure functions and ring middleware to verify ED-25519-signed Discord interactions
Common Lisp
-
lispcord - A client library for the discordapp bot api
Crystal
-
discordcr (archived) - Minimalist Discord library for Crystal. (Still WIP, but usable)
D
-
dscord (archived) - Discord Library for D
Dart
-
nyxx - Wrapper around Discord API for Dart
Elixir
-
alchemy (archived) - A discord library for Elixir
-
concoction - Concoction is a Discord library for Elixir.
-
coxir - A modern Elixir wrapper for Discord.
-
crux (archived) - Repository creating the umbrella documentation for all crux libraries
-
nostrum - Elixir Discord Library
Go
-
arikawa - A Golang library and framework for the Discord API.
-
discord-interactions-go - discord interactions
-
discordgo - (Golang) Go bindings for Discord
-
disgo - A modular Golang Discord API Wrapper
-
disgord (archived) - Go module for interacting with the documented Discord's bot interface; Gateway, REST requests and voice
-
goscord - A Discord API wrapper written in Golang.
Haskell
-
calamity - A library for writing discord bots in haskell
-
discord-haskell - Haskell library for writing Discord bots
-
Discord.hs (archived) - Have you heard of our lord and savior Haskell?
Haxe
-
Haxicord - The most popular discord API Haxe library (because no others are good enough to be called a library)
Java
-
catnip (archived) - A reactive, fully-async Discord API wrapper for the JVM, built on RxJava 3.
-
discord-webhooks - Provides easy to use bindings for the Discord Webhook API
-
Discord4J - Discord4J is a fast, powerful, unopinionated, reactive library to enable quick and easy development of Discord bots for Java, Kotlin, and other JVM languages using the official Discord Bot API.
-
Javacord - An easy to use multithreaded library for creating Discord bots in Java.
-
JDA - Java wrapper for the popular chat & VOIP service: Discord https://discord.com
JavaScript
-
discord.io (archived) - A small, single-file library for creating DiscordApp clients from Node.js or the browser
-
discordie - Predictable JavaScript abstractions for Discord API.
-
eris - A NodeJS Discord library
-
interactions.js - 🤖 A powerful Javascript library to work with discords interactions
-
js-cord - js-cord is a wrapper around the Discord API, written and to be used in Javascript.
Julia
Kotlin
-
Discord.Kt - A discord library written in Kotlin for Kotlin/JVM
-
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.
-
jda-ktx - Collection of useful Kotlin extensions for JDA
-
kord - Idiomatic Kotlin Wrapper for The Discord API
Lua
-
Discordia - Discord API library written in Lua for the Luvit runtime environment
-
discordia-slash - Discordia application commands extension
-
lacord - A low level, lightweight discord API library.
-
litcord - A Lua wrapper for Discord.
Nim
-
dimscord - A Discord Bot & REST Library for Nim.
-
discordnim - Discord library for nim
-
nimcord (archived) - Memory optimized, simple, and feature rich Discord API wrapper written in Nim.
PHP
-
discord-interactions-php - PHP utilities for building Discord Interaction webhooks
-
DiscordPHP - An API to interact with the popular messaging app Discord
-
DiscordPHP-Slash (archived) - PHP server and client for Discord slash commands.
-
Nyasmin - Dedicated to maintaining the Yasmin core used by Palace Bot #9203
-
restcord - Discord REST API Client
Python
-
disco (archived) - Discord Python library for people that like to dance
-
discord-interactions-python - Useful tools for building interactions in Python
-
discord.py - An API wrapper for Discord written in Python.
-
dislash.py (archived) - A Python wrapper for discord slash-commands and buttons, designed to extend discord.py.
-
disnake - An API wrapper for Discord written in Python.
-
dispike - An independent, simple to use, powerful framework for creating interaction-based Discord bots. Powered by FastAPI
-
enhanced-discord.py (archived) - An API wrapper for Discord written in Python.
-
flask-discord-interactions - A Flask extension to enable declarative definitions for Discord slash commands.
-
hata - Async Discord API wrapper.
-
hikari - A Discord API wrapper for Python and asyncio built on good intentions.
-
interactions.py - A highly extensible, easy to use, and feature complete bot framework for Discord
-
NAFF (archived) - A Python API wrapper for Discord
-
nextcord - A Python wrapper for the Discord API forked from discord.py
-
pycord - Pycord is a modern, easy to use, feature-rich, and async ready API wrapper for Discord written in Python
Racket
Raku
Ruby
-
discordrb - Discord API for Ruby
-
vox - Discord library in ruby
Rust
-
accord (archived) - Discord API client to power Discord API clients via the power of love, friendship, and HTTP 💖
-
automate - An asynchronous library to interact with Discord API
-
discord-rs - Rust library for the Discord chat client API
-
serenity - A Rust library for the Discord API.
-
songbird - An async Rust library for the Discord voice API
-
twilight - Powerful, flexible, and scalable ecosystem of Rust libraries for the Discord API.
Scala
-
AckCord - A Discord library for Scala using Akka
Shell
-
discord.sh - Write-only command-line Discord webhooks integration written in 100% Bash script
Swift
-
SwiftDiscord - Discord API Client for Swift
-
Sword (archived) - Discord library for Swift
TypeScript
-
client - A Typescript NodeJS library to interact with Discord's API, both Rest and Gateway.
-
core (archived) - Discord API library
-
Deno-Discord-Slash-Commands - Deno Slash Commands for Discord
-
discord-interactions-js - JS/Node helpers for Discord Interactions
-
discord-slash-commands - Node.JS Slash Commands for Discord
-
discord.js - A powerful JavaScript library for interacting with the Discord API
-
discordeno - Discord API library for Node and Deno
-
droff - Simple Discord client powered by RxJS and Axios
-
framework - Discord bot framework built on top of discord.js for advanced and amazing bots.
-
harmony - An easy to use Discord API Library for Deno.
-
skycord -
-
slash-create - 🗡️ Creator and handler for Discord's slash commands
-
voice (archived) - Implementation of the Discord Voice API for discord.js and other JS/TS libraries