Skip to content

Commit 8aafa8b

Browse files
committed
fix for 3.9
1 parent 3754357 commit 8aafa8b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

revolt/ext/commands/command.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
import inspect
44
import traceback
55
from contextlib import suppress
6-
from types import NoneType
76
from typing import (TYPE_CHECKING, Annotated, Any, Callable, Coroutine,
87
Literal, Optional, Union, get_args, get_origin, cast)
98

@@ -21,6 +20,9 @@
2120
"command"
2221
)
2322

23+
NoneType = type(None)
24+
25+
2426
class Command:
2527
"""Class for holding info about a command.
2628

0 commit comments

Comments
 (0)