|Alexander Memer a6edb75bc8 Implemented INVALIDATE_SESSION opcode||3 months ago|
|cmake||3 months ago|
|deps||3 months ago|
|include/crow||3 months ago|
|src||3 months ago|
|tests||3 months ago|
|.gitignore||3 months ago|
|.gitmodules||1 year ago|
|CMakeLists.txt||3 months ago|
|COPYING||1 year ago|
|README.md||3 months 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 ??.