Skip to content

Commit 49a361a

Browse files
committed
Few more fixes
1 parent 49afb84 commit 49a361a

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

twitchio/assets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ def url_for(self, width: int, height: int) -> str:
196196
197197
.. warning::
198198
This method does not set dimensions for saving or reading.
199-
If you need custom dimensions for an asset that supports it see: `:meth:`~Asset.set_dimensions`.
199+
If you need custom dimensions for an asset that supports it see: :meth:`~Asset.set_dimensions`.
200200
201201
Parameters
202202
----------

twitchio/models/bits.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ def get_image(
177177
178178
Returns
179179
-------
180-
twitchio.Asset | None
180+
Asset | None
181181
The :class:`~twitchio.Asset` for the cheermote.
182182
You can use the asset to :meth:`~twitchio.Asset.read` or :meth:`~twitchio.Asset.save` the cheermote image or
183183
return the generated URL with :attr:`~twitchio.Asset.url`.
@@ -262,7 +262,7 @@ class ExtensionTransaction:
262262
An ID that identifies the transaction.
263263
timestamp: datetime.datetime
264264
The UTC date and time of the transaction.
265-
broadcaster: twitchio.PartialUser
265+
broadcaster: PartialUser
266266
The broadcaster that owns the channel where the transaction occurred.
267267
user: PartialUser
268268
The user that purchased the digital product.
@@ -295,7 +295,7 @@ class ExtensionProductData:
295295
Set to twitch.ext. + <the extension's ID>.
296296
sku: str
297297
An ID that identifies the digital product.
298-
cost: twitchio.ExtensionCost
298+
cost: ExtensionCost
299299
Contains details about the digital product's cost.
300300
in_development: bool
301301
Whether the product is in development.

twitchio/models/chat.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,9 @@ class ChatterColor:
9595
9696
Attributes
9797
-----------
98-
user: twitchio.PartialUser
98+
user: PartialUser
9999
PartialUser of the chatter.
100-
colour: twitchio.Colour
100+
colour: Colour
101101
The :class:`~twitchio.utils.Colour`. There is an alias to this named `color`.
102102
"""
103103

@@ -365,7 +365,7 @@ class EmoteSet(Emote):
365365
type: str
366366
The type of emote. The possible values are: ``bitstier``, ``follower``, ``subscriptions``.
367367
owner: str
368-
The [`PartialUser`][twitchio.PartialUser] who owns this emote set.
368+
The :class:`~twitchio.PartialUser` who owns this emote set.
369369
format: list[str]
370370
The formats that the emote is available in.
371371
scale: list[str]
@@ -404,8 +404,8 @@ class ChannelEmote(Emote):
404404
An ID that identifies the emote set that the emote belongs to.
405405
type: str
406406
The type of emote. The possible values are: ``bitstier``, ``follower``, ``subscriptions``.
407-
owner: twitchio.PartialUser
408-
The [`PartialUser`][twitchio.PartialUser] who owns this emote.
407+
owner: PartialUser
408+
The :class:`~twitchio.PartialUser` who owns this emote.
409409
format: list[str]
410410
The formats that the emote is available in.
411411
scale: list[str]
@@ -473,7 +473,7 @@ class UserEmote(Emote):
473473
The type of emote. Please see docs for full list of possible values.
474474
set_id: str
475475
An ID that identifies the emote set that the emote belongs to.
476-
owner: twitchio.PartialUser
476+
owner: PartialUser
477477
The ID of the broadcaster who owns the emote.
478478
format: list[str]
479479
The formats that the emote is available in.

0 commit comments

Comments
 (0)