Implement a way to send watch events through GQL

This commit is contained in:
DevilXD committed 2026-04-28 20:25:21 +02:00
1 parent cac9b29587
commit 40000cf295
5 files changed
+98 -38

No files matched your search

+2 -2
View File
@@ -13,7 +13,7 @@ from translate import _
from channel import Channel
from utils import timestamp, Game
from exceptions import GQLException
from constants import GQL_OPERATIONS, MAX_EXTRA_MINUTES, URLType, State
from constants import GQL_QUERIES, MAX_EXTRA_MINUTES, URLType, State
if TYPE_CHECKING:
from collections import abc
@@ -193,7 +193,7 @@ class BaseDrop:
return False
try:
response = await self._twitch.gql_request(
GQL_OPERATIONS["ClaimDrop"].with_variables(
GQL_QUERIES["ClaimDrop"].with_variables(
{"input": {"dropInstanceID": self.claim_id}}
)
)