Skip to content

Commit 0528a8c

Browse files
committed
📝 Fix typo
1 parent 40c9093 commit 0528a8c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

discord/guild.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4313,7 +4313,7 @@ def entitlements(
43134313
exclude_ended=exclude_ended,
43144314
)
43154315

4316-
def get_sound(self, sound_id: int):
4316+
def get_sound(self, sound_id: int) -> Soundboard | None:
43174317
"""Returns a sound with the given ID.
43184318
43194319
.. versionadded :: 2.7
@@ -4325,7 +4325,7 @@ def get_sound(self, sound_id: int):
43254325
43264326
Returns
43274327
-------
4328-
Optional[:class:`Sound`]
4328+
Optional[:class:`SoundboardSound`]
43294329
The sound or ``None`` if not found.
43304330
"""
43314331
return self._sounds.get(sound_id)

0 commit comments

Comments
 (0)