[commands] Remove legacy ExtensionNotFound.original attribute

This commit is contained in:
Rapptz 2021-04-10 15:52:53 -04:00
parent d5ad269b35
commit 27886e5aa4

View File

@ -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)