AlpyneDreams / DiscordC

A Discord library for C
MIT License
8 stars 2 forks source link
bot c discord discord-library

DiscordC

A Discord library written in C, forked from disccord.

Dependencies

You can retrieve the first three with apt-get:

sudo apt-get install libcurl4-openssl-dev libssl-dev libsodium-dev

You may have to build libwebsockets (and maybe cJSON) yourself if you do not have a package for it.

Building

Building should be as simple as using the included makefile:

$make all

Contributing

Help needed. Lots of it.

Testing

Valgrind is currently broken with OpenSSL programs.

Please test your code before committing. Use the make test command to test your code to ensure that it works correctly.

client_connect_test requires your token in token.data.txt

Known Allocation Error Locations

These aren't my fault, they're leftover from the fork.

also segfault after freeing client sometimes