diff --git a/discordclient.cpp b/discordclient.cpp index caa7d6e..24b42c4 100644 --- a/discordclient.cpp +++ b/discordclient.cpp @@ -47,7 +47,7 @@ void DiscordClient::messageReceived(const QString& message) m_user.discriminator = payload["d"]["user"]["discriminator"].get().c_str(); emit onReady(m_user); } - else if (eventName == "MESSAGE_CREATE" || eventName == "MESSAGE_UPDATE") + else if (eventName == "MESSAGE_CREATE") { User author; author.id = payload["d"]["author"]["id"].get().c_str(); @@ -133,7 +133,6 @@ void DiscordClient::connectionError(QAbstractSocket::SocketError error) void DiscordClient::sendHeartbeat() { - qDebug() << "Heartbeat sent"; nlohmann::json payload; payload["op"] = static_cast(Constants::Gateway::OpCode::HEARTBEAT); payload["d"] = m_sequenceNumber;