From 27886e5aa48ce0d120be7c2b8dfe120fecefbb8d Mon Sep 17 00:00:00 2001 From: Rapptz Date: Sat, 10 Apr 2021 15:52:53 -0400 Subject: [PATCH] [commands] Remove legacy ExtensionNotFound.original attribute --- discord/ext/commands/errors.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/discord/ext/commands/errors.py b/discord/ext/commands/errors.py index f7e745e0e..b825057ec 100644 --- a/discord/ext/commands/errors.py +++ b/discord/ext/commands/errors.py @@ -813,11 +813,8 @@ class ExtensionNotFound(ExtensionError): ----------- name: :class:`str` The extension that had the error. - original: :class:`NoneType` - Always ``None`` for backwards compatibility. """ - def __init__(self, name, original=None): - self.original = None + def __init__(self, name): msg = f'Extension {name!r} could not be loaded.' super().__init__(msg, name=name)