File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 2929from .assets import Asset
3030from .exceptions import HTTPException , MessageRejectedError
3131from .models .ads import AdSchedule , CommercialStart , SnoozeAd
32- from .models .hype_train import HypeTrainStatus
3332from .models .raids import Raid
3433from .utils import Colour , parse_timestamp
3534
5655 from .models .clips import Clip , CreatedClip
5756 from .models .eventsub_ import ChannelChatMessageEvent , ChatMessageBadge
5857 from .models .goals import Goal
59- from .models .hype_train import HypeTrainEvent
58+ from .models .hype_train import HypeTrainEvent , HypeTrainStatus
6059 from .models .moderation import (
6160 AutomodCheckMessage ,
6261 AutomodSettings ,
@@ -1392,6 +1391,8 @@ async def fetch_hype_train_status(self) -> HypeTrainStatus | None:
13921391 HypeTrainStatus object if a Hype Train is currently active, otherwise None.
13931392
13941393 """
1394+ from .models .hype_train import HypeTrainStatus
1395+
13951396 data = await self ._http .get_hype_train_status (broadcaster_id = self .id , token_for = self .id )
13961397
13971398 if data ["data" ][0 ]["current" ] is None :
You can’t perform that action at this time.
0 commit comments