From 8b86e9a8f071a1af5ce1531a9ebd2b2140e73ff7 Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Mon, 21 Jul 2025 16:34:23 +0500 Subject: feat: a function for getting events --- bot/src/utils/events.hpp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 bot/src/utils/events.hpp (limited to 'bot/src/utils/events.hpp') diff --git a/bot/src/utils/events.hpp b/bot/src/utils/events.hpp new file mode 100644 index 0000000..e806c94 --- /dev/null +++ b/bot/src/utils/events.hpp @@ -0,0 +1,15 @@ +#pragma once + +#include +#include + +#include "api/twitch/helix_client.hpp" +#include "database.hpp" +#include "schemas/event.hpp" + +namespace bot::utils { + std::vector get_events(std::unique_ptr conn, + api::twitch::HelixClient &api_client, + int moderator_id, int type, + const std::string &name); +}; \ No newline at end of file -- cgit v1.2.3