Skip to content

Commit

Permalink
Fix minor formatting problems
Browse files Browse the repository at this point in the history
  • Loading branch information
gingershaped committed Dec 4, 2024
1 parent 01f37ea commit c7e97c4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion discord/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -2359,7 +2359,7 @@ async def fetch_guild(self, guild_id: int, /, *, with_counts: bool = True) -> Gu
async def fetch_guild_preview(self, guild_id: int) -> GuildPreview:
"""|coro|
Retrieves a preview of a :class:`Guild` from an ID. If the guild is discoverable,
Retrieves a preview of a :class:`.Guild` from an ID. If the guild is discoverable,
you don't have to be a member of it.
.. versionadded:: 2.5
Expand Down
1 change: 1 addition & 0 deletions discord/guild.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ class GuildPreview(Hashable):
"""Represents a preview of a Discord guild.
.. versionadded:: 2.5
.. container:: operations
.. describe:: x == y
Expand Down
2 changes: 1 addition & 1 deletion discord/state.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@

import os

from .guild import Guild, GuildPreview
from .guild import Guild
from .activity import BaseActivity
from .sku import Entitlement
from .user import User, ClientUser
Expand Down

0 comments on commit c7e97c4

Please sign in to comment.