I completed all steps of installation and setup, and arrived to the part in which I could do a test run of the framework. Upon compiling, I received multiple unresolved external symbol errors during compilation of the following code:
#include "sleepy_discord/websocketpp_websocket.h"
class WebsocketppDiscordClient : public SleepyDiscord::DiscordClient {
public:
using SleepyDiscord::DiscordClient::DiscordClient;
void onMessage(SleepyDiscord::Message message) {
if (message.startsWith("whcg hello"))
sendMessage(message.channelID, "Hello " + message.author.username);
}
};
int main() {
WebsocketppDiscordClient client("token", 2);
client.run();
The compile fails, and I receive the following errors:
I completed all steps of installation and setup, and arrived to the part in which I could do a test run of the framework. Upon compiling, I received multiple unresolved external symbol errors during compilation of the following code:
The compile fails, and I receive the following errors: