#include "sleepy_discord/sleepy_discord.h"
class MyClientClass : public SleepyDiscord::DiscordClient {
public:
using SleepyDiscord::DiscordClient::DiscordClient;
void onMessage(SleepyDiscord::Message message) override {
if (message.startsWith("whcg hello"))
sendMessage(message.channelID, "Hello " + message.author.username);
}
};
int main() {
MyClientClass client("my token was here but i dont want it stolen", SleepyDiscord::USER_CONTROLED_THREADS);
client.run();
}
im using the example code