[commands] Remove legacy ExtensionNotFound.original attribute
This commit is contained in:
parent
d5ad269b35
commit
27886e5aa4
@ -813,11 +813,8 @@ class ExtensionNotFound(ExtensionError):
|
|||||||
-----------
|
-----------
|
||||||
name: :class:`str`
|
name: :class:`str`
|
||||||
The extension that had the error.
|
The extension that had the error.
|
||||||
original: :class:`NoneType`
|
|
||||||
Always ``None`` for backwards compatibility.
|
|
||||||
"""
|
"""
|
||||||
def __init__(self, name, original=None):
|
def __init__(self, name):
|
||||||
self.original = None
|
|
||||||
msg = f'Extension {name!r} could not be loaded.'
|
msg = f'Extension {name!r} could not be loaded.'
|
||||||
super().__init__(msg, name=name)
|
super().__init__(msg, name=name)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user