Skip to content

Commit

Permalink
Merge pull request #66 from waddyhussain/next
Browse files Browse the repository at this point in the history
fix: Remove calls to 7TV API
  • Loading branch information
Zibbp authored Nov 4, 2023
2 parents cee1517 + 4b505c5 commit 9392300
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions io/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,20 +83,6 @@ export default function async() {
};
emotes.push(newEmoteObject);
}
// 7TV
console.log("Fetching 7TV emotes...");
const sevenTvEmotes = await axios.get(
"https://api.7tv.app/v2/emotes/global"
);
// Format BTTV emotes
for await (const emote of sevenTvEmotes.data) {
const newEmoteObject = {
id: emote.id,
code: emote.name,
source: "7tv",
};
emotes.push(newEmoteObject);
}
};
await fetchEmotes();

Expand Down

0 comments on commit 9392300

Please sign in to comment.