-
-
Notifications
You must be signed in to change notification settings - Fork 751
Improve return types of bot.utils.channel.get_or_fetch_channel #2346
Copy link
Copy link
Closed
Labels
a: backendRelated to internal functionality and utilities (error_handler, logging, security, utils and core)Related to internal functionality and utilities (error_handler, logging, security, utils and core)status: approvedThe issue has received a core developer's approvalThe issue has received a core developer's approvalt: enhancementChanges or improvements to existing featuresChanges or improvements to existing features
Metadata
Metadata
Assignees
Labels
a: backendRelated to internal functionality and utilities (error_handler, logging, security, utils and core)Related to internal functionality and utilities (error_handler, logging, security, utils and core)status: approvedThe issue has received a core developer's approvalThe issue has received a core developer's approvalt: enhancementChanges or improvements to existing featuresChanges or improvements to existing features
Type
Fields
Give feedbackNo fields configured for issues without a type.
Currently,
get_or_fetch_channelis only typed to return an instance ofGuildChannel, which isn't always true since it can also return aThreador aPrivateChannelThe purpose of this issue is to improve the return type hints.