mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 17:51:28 +00:00
* Start of discord integration work * more testing * Discord client work * More discord work * Cleanup * Handle retry timer response and max retries * Update base retry timer * Move Discord queue handler to UCS, add queuer to own thread * Post merge * Send up Zone::SendDiscordMessage * Start of discord integration work * more testing * Discord client work * More discord work * Cleanup * Move Discord queue handler to UCS, add queuer to own thread * Post merge * Push up tables * Quest API stuff. * Update 2022_05_07_discord_webhooks.sql * Post merge fixes * Push up manifest * Flip logging signs in logic from copy / paste of inverse logic before * Make sure we add new line to quest api sourced messages Co-authored-by: Kinglykrab <kinglykrab@gmail.com>
16 lines
328 B
C++
16 lines
328 B
C++
#ifndef EQEMU_DISCORD_H
|
|
#define EQEMU_DISCORD_H
|
|
|
|
|
|
#include <string>
|
|
#include "../types.h"
|
|
|
|
class Discord {
|
|
public:
|
|
static void SendWebhookMessage(const std::string& message, const std::string& webhook_url);
|
|
static std::string FormatDiscordMessage(uint16 category_id, const std::string& message);
|
|
};
|
|
|
|
|
|
#endif //EQEMU_DISCORD_H
|