diff --git a/disnake/ext/commands/params.py b/disnake/ext/commands/params.py index c8957b3e3d..c0853beac2 100644 --- a/disnake/ext/commands/params.py +++ b/disnake/ext/commands/params.py @@ -301,7 +301,7 @@ class _BaseRange(ABC, Generic[NumberT]): def __class_getitem__(cls, params: Tuple[Any, ...]) -> Self: if cls is _BaseRange: # needed since made generic - return super().__class_getitem__(params) # pyright: ignore[reportAttributeAccessIssue] + return super().__class_getitem__(params) # pyright: ignore # deconstruct type arguments if not isinstance(params, tuple):