• This repository has been archived on 04/Mar/2022
  • Stars
    star
    137
  • Rank 266,121 (Top 6 %)
  • Language
    C
  • License
    GNU Lesser Genera...
  • Created about 7 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A Discord library written in C

This repository has been archived

libdiscord was developed against the v6 API, which has been depreciated by Discord. Functionality of libdiscord in the future is therefore not guaranteed.

Developers interested in using C to interact with Discord are encouraged to look at alternative libraries such as concord or orca.

libdiscord

A Discord library written in C. Not production ready.

Join the Discord server: Discord

The goal of this library currently is:

  • be easy to use

Building

See building

Libdiscord was tested against Ubuntu 18.04, Raspbian, and macOS Catalina. It has been previously tested to work on ArchLinux, FreeBSD, OpenBSD, and Debian. The library should build and run on systems that libcurl and libwebsockets supports. Windows has not been tested, but there's nothing preventing libdiscord from being able to run on Windows.

Example Bots

See example_bots for some sample bots.

Install scripts

Intended for development use only.

Todo

See the todo list for a list of things that will be implemented at some point. Major features and fixes in development for the first point release (v0.3) are:

  • Reconnection logic
  • Jansson memory leaks and other show-stopping bugs