File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6969from .threads import Thread
7070from .ui .view import View
7171from .user import ClientUser , User
72- from .utils import _FETCHABLE , MISSING , _D
72+ from .utils import _D , _FETCHABLE , MISSING
7373from .voice_client import VoiceClient
7474from .webhook import Webhook
7575from .widget import Widget
@@ -248,9 +248,9 @@ def __init__(
248248 self .loop : asyncio .AbstractEventLoop = (
249249 asyncio .get_event_loop () if loop is None else loop
250250 )
251- self ._listeners : dict [
252- str , list [ tuple [ asyncio . Future , Callable [..., bool ]]]
253- ] = {}
251+ self ._listeners : dict [str , list [ tuple [ asyncio . Future , Callable [..., bool ]]]] = (
252+ {}
253+ )
254254 self .shard_id : int | None = options .get ("shard_id" )
255255 self .shard_count : int | None = options .get ("shard_count" )
256256
@@ -1205,13 +1205,13 @@ async def get_or_fetch(
12051205
12061206 @overload
12071207 async def get_or_fetch (
1208- self : " Client" ,
1208+ self : Client ,
12091209 object_type : type [_FETCHABLE ],
12101210 object_id : int ,
12111211 ) -> _FETCHABLE : ...
12121212
12131213 async def get_or_fetch (
1214- self : " Client" ,
1214+ self : Client ,
12151215 object_type : type [_FETCHABLE ],
12161216 object_id : int | None ,
12171217 default : _D = MISSING ,
Original file line number Diff line number Diff line change 8585from .sticker import GuildSticker
8686from .threads import Thread , ThreadMember
8787from .user import User
88- from .utils import _FETCHABLE , _D
88+ from .utils import _D , _FETCHABLE
8989from .welcome_screen import WelcomeScreen , WelcomeScreenChannel
9090from .widget import Widget
9191
You can’t perform that action at this time.
0 commit comments