mirror of
https://github.com/LBRYFoundation/pool.git
synced 2025-08-23 17:37:25 +00:00
send discord webhook
This commit is contained in:
parent
274ad9733e
commit
69c0ac6a7d
3 changed files with 4 additions and 0 deletions
|
@ -211,6 +211,8 @@ void coind_init(YAAMP_COIND *coind)
|
|||
debuglog(">>>>>>>>>>>>>>>>>>>> using wallet %s %s\n",
|
||||
coind->wallet, coind->account);
|
||||
}
|
||||
|
||||
lbrylog("coind init %s %s %s\n", coind->symbol, coind->wallet, coind->account);
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
|
|
@ -189,6 +189,7 @@ void lbrylog(const char *format, ...)
|
|||
|
||||
char message[YAAMP_SMALLBUFSIZE+1024];
|
||||
sprintf(message, "{\"username\":\"stratum\", \"content\":\"%s: %s\"}", buffer2, buffer);
|
||||
discordlog(messages);
|
||||
}
|
||||
|
||||
void discordlog(const char *message)
|
||||
|
|
|
@ -66,6 +66,7 @@ void stratumlogdate(const char *format, ...);
|
|||
void clientlog(YAAMP_CLIENT *client, const char *format, ...);
|
||||
void rejectlog(const char *format, ...);
|
||||
void lbrylog(const char *format, ...);
|
||||
void discordlog(const char *message);
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue