Move discord/utils.py
to a separate discord/utils/
submodule.
#2652
Labels
feature request
New feature request
Summary
The
utils.py
file should be refactored in a submodule to allow better distinction between util features.What is the feature request for?
The core library
The Problem
Currently
utils
, like most of the library's code actually, is present in quite long files,utils.py
is currently1244
lines long. This is generally not enjoyable, and long files should be, when possible avoided. Additionally, utils used for many purposes in the library and "served" to the user are mixed up without clear distinction inutils.py
. It should not be too hard, compared to the rest of the lib, to split up utils functions by scope, and utils should in principle not be all in one file.The Ideal Solution
The best solution would be to make an
utils
submodule with__init__
exporting the user-facing utils, and the rest being accessed directly.The Current Solution
n/a
Additional Context
n/a
The text was updated successfully, but these errors were encountered: