Skip to content

Commit

Permalink
Update http.py
Browse files Browse the repository at this point in the history
  • Loading branch information
plun1331 authored May 2, 2022
1 parent 7f328b1 commit f7111c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions discord/http.py
Original file line number Diff line number Diff line change
Expand Up @@ -2246,7 +2246,7 @@ def get_command_permissions(
application_id: Snowflake,
guild_id: Snowflake,
command_id: Snowflake,
) -> Response: # TODO: Typing
) -> Response[interactions.GuildApplicationCommandPermissions]:
r = Route(
"GET",
"/applications/{application_id}/guilds/{guild_id}/commands/{command_id}/permissions",
Expand All @@ -2259,7 +2259,7 @@ def get_guild_command_permissions(
self,
application_id: Snowflake,
guild_id: Snowflake,
) -> Response: # TODO: Typing
) -> Response[List[interactions.GuildApplicationCommandPermissions]]:
r = Route(
"GET",
"/applications/{application_id}/guilds/{guild_id}/commands/permissions",
Expand Down

0 comments on commit f7111c6

Please sign in to comment.