/DBot

Discord Bot on C++

Primary LanguageC++

DBot

Discord Bot on C++

Requires: curl, openssl, g++

Compiling

g++ -g -Wall -o <your_output_name> bot.cpp -lcurl

Installing packages

G++:

apt-get install build-essential
apt-get install g++

cURL:

apt-get install libcurl-dev

OR

apt-get install libcurl4-openssl-dev 

OpenSSL:

apt-get install openssl
apt-get install libssl-dev

Warning!

Change variables

curl_easy_setopt(curl, CURLOPT_URL, "https://discordapp.com/api/channels/<here>/messages");  <-- Here change to your channel id