summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormoderndevslulw <moderndevslulw@alright.party>2025-04-04 16:04:54 +0500
committermoderndevslulw <moderndevslulw@alright.party>2025-04-04 16:04:54 +0500
commite67424780c981a8b032fc9f1e7ec7f09cd2ffd88 (patch)
tree956bb19a8eb350262c56a9a3be48f925e877f4d3 /src
parenta44fc682a5f2eb54dfac6705ff21d0778639af6a (diff)
feat: a method for getting 7tv joined ids
Diffstat (limited to 'src')
-rw-r--r--src/seventv.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/seventv.cpp b/src/seventv.cpp
index 62ea550..54e259f 100644
--- a/src/seventv.cpp
+++ b/src/seventv.cpp
@@ -152,6 +152,10 @@ namespace emotespp {
void SevenTVWebsocketClient::start() { this->websocket.start(); }
+ const std::vector<std::string> &SevenTVWebsocketClient::get_ids() const {
+ return this->ids;
+ }
+
Emote SevenTVWebsocketClient::create_emote(const nlohmann::json &data) {
std::string id = data["id"];
std::string code = data["name"];