File tree Expand file tree Collapse file tree 2 files changed +3
-29
lines changed Expand file tree Collapse file tree 2 files changed +3
-29
lines changed Original file line number Diff line number Diff line change @@ -2582,35 +2582,6 @@ def bulk_upsert_guild_commands(
2582
2582
)
2583
2583
return self .request (r , json = payload )
2584
2584
2585
- # Application commands (permissions)
2586
-
2587
- def get_command_permissions (
2588
- self ,
2589
- application_id : Snowflake ,
2590
- guild_id : Snowflake ,
2591
- command_id : Snowflake ,
2592
- ) -> Response [interactions .GuildApplicationCommandPermissions ]:
2593
- r = Route (
2594
- "GET" ,
2595
- "/applications/{application_id}/guilds/{guild_id}/commands/{command_id}/permissions" ,
2596
- application_id = application_id ,
2597
- guild_id = guild_id ,
2598
- )
2599
- return self .request (r )
2600
-
2601
- def get_guild_command_permissions (
2602
- self ,
2603
- application_id : Snowflake ,
2604
- guild_id : Snowflake ,
2605
- ) -> Response [list [interactions .GuildApplicationCommandPermissions ]]:
2606
- r = Route (
2607
- "GET" ,
2608
- "/applications/{application_id}/guilds/{guild_id}/commands/permissions" ,
2609
- application_id = application_id ,
2610
- guild_id = guild_id ,
2611
- )
2612
- return self .request (r )
2613
-
2614
2585
# Guild Automod Rules
2615
2586
2616
2587
def get_auto_moderation_rules (
@@ -2848,6 +2819,8 @@ def delete_followup_message(
2848
2819
)
2849
2820
return self .request (r )
2850
2821
2822
+ # Application commands (permissions)
2823
+
2851
2824
def get_guild_application_command_permissions (
2852
2825
self ,
2853
2826
application_id : Snowflake ,
Original file line number Diff line number Diff line change @@ -377,6 +377,7 @@ def decorated(*args: P.args, **kwargs: P.kwargs) -> T:
377
377
since = since ,
378
378
removed = removed ,
379
379
reference = reference ,
380
+ stacklevel = stacklevel
380
381
)
381
382
return func (* args , ** kwargs )
382
383
You can’t perform that action at this time.
0 commit comments