Fix directory channels having ID as str

This commit is contained in:
DevilXD committed 2021-12-23 13:44:43 +01:00
1 parent 0631a00ff5
commit 23a8681e71
1 file changed
+1 -1
+1 -1
View File
@@ -74,7 +74,7 @@ class Channel:
self = super().__new__(cls)
self._twitch = twitch
channel = data["broadcaster"]
self.id = channel["id"]
self.id = int(channel["id"])
self.name = channel["displayName"]
self.url = f"{BASE_URL}/{self.name}"
self._spade_url = None