Skip to content

Commit

Permalink
black formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
minimike86 committed Dec 3, 2024
1 parent 800c17d commit e948f79
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions twitchrce/custom_bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,9 +213,7 @@ async def event_eventsub_notification_cheer(
chatter_who_cheered = channel_cheer_happened_in.get_chatter(
name=cheer_data.user.name
)
user_clips: List[Clip] = await cheer_data.user.fetch_clips(
is_featured=True
)
user_clips: List[Clip] = await cheer_data.user.fetch_clips(is_featured=True)

if hasattr(cheer_data, "is_anonymous") and cheer_data.is_anonymous:
event_string = (
Expand Down Expand Up @@ -402,9 +400,7 @@ async def event_eventsub_notification_raid(
# shoutout the raider
if len(user_clips) >= 1:
# check if raider is a streamer with clips on their channel and shoutout with clip player
await channel_raid_happened_in.send(
f"!so {chatter_who_raided.mention}"
)
await channel_raid_happened_in.send(f"!so {chatter_who_raided.mention}")
await self.announce_shoutout(
broadcaster=channel_raid_data.reciever,
user_to_shoutout=channel_raid_data.raider,
Expand Down

0 comments on commit e948f79

Please sign in to comment.