2016-07-10 01:18:13 +01:00
|
|
|
#ifndef BOT_APIHELPER
|
|
|
|
#define BOT_APIHELPER
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
|
|
|
|
#include "json/json.hpp"
|
|
|
|
|
|
|
|
using json = nlohmann::json;
|
|
|
|
|
2016-08-15 17:47:34 +01:00
|
|
|
class BotConfig;
|
2016-07-10 01:18:13 +01:00
|
|
|
|
2016-08-10 17:07:41 +01:00
|
|
|
namespace DiscordAPI {
|
2016-08-15 17:47:34 +01:00
|
|
|
json get_gateway(std::string ca_location);
|
|
|
|
void send_message(std::string channel_id, std::string message, std::string token, std::string ca_location);
|
2016-08-10 17:07:41 +01:00
|
|
|
}
|
2016-07-10 01:18:13 +01:00
|
|
|
|
|
|
|
#endif
|