Add registration (needs leak fix), remove something from ping

This commit is contained in:
2026-08-30 17:11:36 +02:00
parent 9b7ce082c2
commit 35591b0701
5 changed files with 1166 additions and 5 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ void hammy_cmd_ping(const hammy_job_t* job, struct discord* client) {
char body[256];
snprintf(body, sizeof(body),
"Pong!\nGateway: `%d ms`\nHandled in: `%" PRId64 " ms`",
"Gateway: `%d ms`\nHandled in: `%" PRId64 " ms`",
gatewayMs, handledMs);
hammy_job_respond(job, client, "Pong!", body, false);