diff --git a/twitchio/ext/commands/core.py b/twitchio/ext/commands/core.py index 393b6746..ecd6b692 100644 --- a/twitchio/ext/commands/core.py +++ b/twitchio/ext/commands/core.py @@ -43,7 +43,7 @@ from . import Cog, Bot from .stringparser import StringParser - if sys.version_info >= (3, 8): + if sys.version_info >= (3, 10): UnionT = Union[types.UnionType, Union] else: UnionT = Union