|Alexander Memer a6edb75bc8 Implemented INVALIDATE_SESSION opcode||1 month ago|
|cmake||1 month ago|
|deps||1 month ago|
|include/crow||1 month ago|
|src||1 month ago|
|tests||1 month ago|
|.gitignore||1 month ago|
|.gitmodules||9 months ago|
|CMakeLists.txt||1 month ago|
|COPYING||1 year ago|
|README.md||1 month ago|
Discord API library written in C.
Tested on Fedora.
This software is under heavy development and very unstable so I don't recommend to use it.
NOTE: This guide is outdated.
This is an example for installation on debian-based linux distributions.
First you need a build essentials. Install it with apt.
apt-get install build-essentials # gcc, make etc...
Then you'll need some libraries:
apt-get install libjson-c-dev # JSON library apt-get install libcurl4-openssl-dev # CURL with SSL support
After library installation clone this repository with submodules:
git clone --recursive https://github.com/TrueMemer/Crow.git cd Crow
Execute the following commands:
To run bot execute
You can create file .crowrc in your home directory with following syntax:
Just replace token and bot_prefix with yours.
You can also provide token via argument like this:
But you can't provide bot prefix this way. There is also flag
-s which saves current token and bot prefix to your .crowrc file. Default prefix is ??.