summaryrefslogtreecommitdiff
path: root/src/seventv.rs
diff options
context:
space:
mode:
authorilotterytea <iltsu@alright.party>2025-04-09 18:31:56 +0500
committerilotterytea <iltsu@alright.party>2025-04-09 18:31:56 +0500
commit0bde61429173313468a709fec9ecad174405dc9c (patch)
tree2a484cc4e1b989debb4a5c1d3924f2f1eed74e61 /src/seventv.rs
parent66b4eeb985e242cc0ee2925d639e976187727409 (diff)
feat: `emotes` field in `EmoteSet`
Diffstat (limited to 'src/seventv.rs')
-rw-r--r--src/seventv.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/seventv.rs b/src/seventv.rs
index eb0829b..c3a2006 100644
--- a/src/seventv.rs
+++ b/src/seventv.rs
@@ -25,6 +25,7 @@ pub struct EmoteSet {
pub id: String,
pub name: String,
pub owner: User,
+ pub emotes: Vec<Emote>,
}
pub struct SevenTVAPIClient {
@@ -104,6 +105,7 @@ impl SevenTVAPIClient {
id: id.to_string(),
name: name.to_string(),
owner,
+ emotes: self.parse_emoteset(&response),
})
}