Toast/TriviaBot/bot/DiscordAPI.hpp

17 lines
323 B
C++
Raw Normal View History

#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;
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);
}
#endif