diff --git a/revolt/ext/commands/command.py b/revolt/ext/commands/command.py index 9139836..138e0d5 100755 --- a/revolt/ext/commands/command.py +++ b/revolt/ext/commands/command.py @@ -3,7 +3,6 @@ from __future__ import annotations import inspect import traceback from contextlib import suppress -from types import NoneType from typing import (TYPE_CHECKING, Annotated, Any, Callable, Coroutine, Literal, Optional, Union, get_args, get_origin, cast) @@ -21,6 +20,9 @@ __all__ = ( "command" ) +NoneType = type(None) + + class Command: """Class for holding info about a command.