Skip to content
This repository was archived by the owner on Aug 28, 2019. It is now read-only.

Commit 27886e5

Browse files
committed
[commands] Remove legacy ExtensionNotFound.original attribute
1 parent d5ad269 commit 27886e5

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

discord/ext/commands/errors.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -813,11 +813,8 @@ class ExtensionNotFound(ExtensionError):
813813
-----------
814814
name: :class:`str`
815815
The extension that had the error.
816-
original: :class:`NoneType`
817-
Always ``None`` for backwards compatibility.
818816
"""
819-
def __init__(self, name, original=None):
820-
self.original = None
817+
def __init__(self, name):
821818
msg = f'Extension {name!r} could not be loaded.'
822819
super().__init__(msg, name=name)
823820

0 commit comments

Comments
 (0)