Add __all__ to remaining modules

This commit is contained in:
Nadir Chowdhury authored and GitHub committed 2021-04-07 02:30:32 -04:00
1 parent ed1341012b
commit 89456022cf
36 files changed
+210 -26

No files matched your search

+16
View File
@@ -22,6 +22,22 @@ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
"""
__all__ = (
'DiscordException',
'ClientException',
'NoMoreItems',
'GatewayNotFound',
'HTTPException',
'Forbidden',
'NotFound',
'DiscordServerError',
'InvalidData',
'InvalidArgument',
'LoginFailure',
'ConnectionClosed',
'PrivilegedIntentsRequired',
)
class DiscordException(Exception):
"""Base exception class for discord.py