Skip to content
This repository has been archived by the owner on Dec 26, 2022. It is now read-only.

Commit

Permalink
鉁忥笍 correcting var name
Browse files Browse the repository at this point in the history
  • Loading branch information
Sigmanificient committed Nov 29, 2021
1 parent 38accb2 commit 898c18d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pincer/commands/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,9 +259,9 @@ async def test_command(
"Choice value must match the command type"
)

cannel_types = annotation.get_arg(ChannelTypes)
channel_types = annotation.get_arg(ChannelTypes)
if (
cannel_types is not MISSING
channel_types is not MISSING
and annotation.command_type is not Channel
):
raise InvalidArgumentAnnotation(
Expand Down Expand Up @@ -289,7 +289,7 @@ async def test_command(
description=argument_description,
required=required,
choices=choices,
channel_types=cannel_types,
channel_types=channel_types,
max_value=max_value,
min_value=min_value,
)
Expand Down

0 comments on commit 898c18d

Please sign in to comment.