Skip to content

Commit 57e138b

Browse files
committed
Correct CustomReward background_color
1 parent f3c1d1c commit 57e138b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

twitchio/models/channel_points.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ async def update(
240240
cost: int | None = None,
241241
prompt: str | None = None,
242242
enabled: bool | None = None,
243-
background_color: str | Colour | None = None,
243+
colour: str | Colour | None = None,
244244
input_required: bool | None = None,
245245
max_per_stream: int | None = None,
246246
max_per_user: int | None = None,
@@ -268,8 +268,8 @@ async def update(
268268
``input_required`` needs to be set to ``True`` for this to work,
269269
enabled: bool | None
270270
Boolean value that indicates whether the reward is enabled. Set to ``True`` to enable the reward. Viewers see only enabled rewards.
271-
background_color: str | Colour | None
272-
The background color to use for the reward. Specify the color using Hex format (for example, #00E5CB).
271+
colour: str | Colour | None
272+
The background colour to use for the reward. Specify the color using Hex format (for example, #00E5CB).
273273
You can also pass a twitchio.Colour object.
274274
input_required: bool | None
275275
A Boolean value that determines whether users must enter information to redeem the reward.
@@ -317,7 +317,7 @@ async def update(
317317
cost=cost,
318318
prompt=prompt,
319319
enabled=enabled,
320-
background_color=background_color,
320+
background_color=colour,
321321
user_input_required=input_required,
322322
max_per_stream=max_per_stream,
323323
max_per_user=max_per_user,

0 commit comments

Comments
 (0)