mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-31 00:46:46 +00:00
normalize includes: common
This commit is contained in:
@@ -1,19 +1,16 @@
|
||||
#ifndef EQEMU_DISCORD_H
|
||||
#define EQEMU_DISCORD_H
|
||||
#pragma once
|
||||
|
||||
#include "common/events/player_events.h"
|
||||
#include "common/repositories/player_event_logs_repository.h"
|
||||
#include "common/types.h"
|
||||
|
||||
#include <string>
|
||||
#include "../types.h"
|
||||
#include "../repositories/player_event_logs_repository.h"
|
||||
#include "../events/player_events.h"
|
||||
|
||||
class Discord {
|
||||
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);
|
||||
static void SendPlayerEventMessage(const PlayerEvent::PlayerEventContainer& e, const std::string &webhook_url);
|
||||
static bool ValidateWebhookUrl(const std::string &webhook_url);
|
||||
};
|
||||
|
||||
|
||||
#endif //EQEMU_DISCORD_H
|
||||
|
||||
Reference in New Issue
Block a user