yourWaifu / sleepy-discord

C++ library for the Discord chat client. Please use Rust for new bots
https://yourWaifu.github.io/sleepy-discord/
MIT License
707 stars 92 forks source link

Cannot initialize object parameter of type 'SleepyDiscord::WebsocketppDiscordClient' with an expression of type 'MyClientClass'; No matching member function for call to 'sendMessage #200

Open EvanGrimes opened 3 years ago

EvanGrimes commented 3 years ago

I am just now trying out this API, and i was trying to use the "hello" example, but it gives this error at the "client.run()" part.

Also during the same part, the sendMessage() function in the onMessage() part seems to now be missing a parameter that i cant find anywhere

yourWaifu commented 3 years ago

can you give me the compiler output?

EvanGrimes commented 3 years ago

my compiler screen is entirely filled with "cannot find boost/thread.hpp", but i got these errors from the CLion built in errors. The errors that i got are the exact same ones as featured in the title of this issue however