summaryrefslogtreecommitdiff
path: root/bot/src/utils/events.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'bot/src/utils/events.hpp')
-rw-r--r--bot/src/utils/events.hpp15
1 files changed, 15 insertions, 0 deletions
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 <string>
+#include <vector>
+
+#include "api/twitch/helix_client.hpp"
+#include "database.hpp"
+#include "schemas/event.hpp"
+
+namespace bot::utils {
+ std::vector<schemas::Event> get_events(std::unique_ptr<db::BaseDatabase> conn,
+ api::twitch::HelixClient &api_client,
+ int moderator_id, int type,
+ const std::string &name);
+}; \ No newline at end of file