Skip to content

Commit

Permalink
refactor: remove type ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
KnownBlackHat committed May 8, 2023
1 parent 8a7b69e commit 1069b79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion disnake/ext/commands/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -1774,7 +1774,7 @@ def decorator(func: Union[Command, CoroFunc]) -> Union[Command, CoroFunc]:
decorator.predicate = predicate
else:

@functools.wraps(predicate) # type: ignore
@functools.wraps(predicate)
async def wrapper(ctx):
return predicate(ctx) # type: ignore

Expand Down

0 comments on commit 1069b79

Please sign in to comment.