We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fff74c4 commit 9e45627Copy full SHA for 9e45627
discord/utils.py
@@ -626,19 +626,20 @@ async def get_or_fetch(
626
The object of type that was specified or ``None`` if not found.
627
"""
628
from discord import (
629
- Client,
630
- VoiceChannel,
631
- TextChannel,
632
- ForumChannel,
633
- StageChannel,
634
- CategoryChannel,
635
- Thread,
636
- Member,
637
- User,
638
- Guild,
639
- GuildEmoji,
640
- AppEmoji,
641
- )
+ AppEmoji,
+ CategoryChannel,
+ Client,
+ ForumChannel,
+ Guild,
+ GuildEmoji,
+ Member,
+ StageChannel,
+ TextChannel,
+ Thread,
+ User,
+ VoiceChannel,
+ )
642
+
643
# TODO REMOVE THIS PART AfTER DEPREcIATION
644
string_to_type = {
645
"channel": TextChannel,
0 commit comments