Skip to content

Commit

Permalink
style(pre-commit): auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Nov 6, 2023
1 parent 8a696c9 commit cd73447
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions discord/ext/commands/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,11 @@

from ...commands import (
ApplicationCommand,
Option,
_BaseCommand,
message_command,
slash_command,
user_command,
Option
)
from ...enums import ChannelType
from ...errors import *
Expand Down Expand Up @@ -567,7 +567,7 @@ async def transform(self, ctx: Context, param: inspect.Parameter) -> Any:
required = param.annotation.required or param.annotation.default is None
default = param.annotation.default
else:
required = (param.default is param.empty)
required = param.default is param.empty
default = param.default

converter = get_converter(param)
Expand Down

0 comments on commit cd73447

Please sign in to comment.