summaryrefslogtreecommitdiff
path: root/bot/src/utils/events.hpp
blob: e806c9454bddcae6cb16444d447b0f4a662515c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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);
};