@@ -447,7 +447,6 @@ impl Http {
447447 ///
448448 /// Functions the same as [`Self::execute_webhook`]
449449 #[ cfg( feature = "unstable_discord_api" ) ]
450- #[ cfg_attr( docsrs, doc( cfg( feature = "unstable_discord_api" ) ) ) ]
451450 pub async fn create_followup_message (
452451 & self ,
453452 interaction_token : & str ,
@@ -476,7 +475,6 @@ impl Http {
476475 ///
477476 /// [docs]: https://discord.com/developers/docs/interactions/slash-commands#create-global-application-command
478477 #[ cfg( feature = "unstable_discord_api" ) ]
479- #[ cfg_attr( docsrs, doc( cfg( feature = "unstable_discord_api" ) ) ) ]
480478 pub async fn create_global_application_command (
481479 & self ,
482480 map : & Value ,
@@ -493,7 +491,6 @@ impl Http {
493491
494492 /// Creates new global application commands.
495493 #[ cfg( feature = "unstable_discord_api" ) ]
496- #[ cfg_attr( docsrs, doc( cfg( feature = "unstable_discord_api" ) ) ) ]
497494 pub async fn create_global_application_commands (
498495 & self ,
499496 map : & Value ,
@@ -510,7 +507,6 @@ impl Http {
510507
511508 /// Creates new guild application commands.
512509 #[ cfg( feature = "unstable_discord_api" ) ]
513- #[ cfg_attr( docsrs, doc( cfg( feature = "unstable_discord_api" ) ) ) ]
514510 pub async fn create_guild_application_commands (
515511 & self ,
516512 guild_id : u64 ,
@@ -579,7 +575,6 @@ impl Http {
579575 ///
580576 /// [docs]: https://discord.com/developers/docs/interactions/slash-commands#create-guild-application-command
581577 #[ cfg( feature = "unstable_discord_api" ) ]
582- #[ cfg_attr( docsrs, doc( cfg( feature = "unstable_discord_api" ) ) ) ]
583578 pub async fn create_guild_application_command (
584579 & self ,
585580 guild_id : u64 ,
@@ -627,7 +622,6 @@ impl Http {
627622 ///
628623 /// [docs]: https://discord.com/developers/docs/interactions/slash-commands#interaction-interaction-response
629624 #[ cfg( feature = "unstable_discord_api" ) ]
630- #[ cfg_attr( docsrs, doc( cfg( feature = "unstable_discord_api" ) ) ) ]
631625 pub async fn create_interaction_response (
632626 & self ,
633627 interaction_id : u64 ,
@@ -823,7 +817,6 @@ impl Http {
823817
824818 /// Deletes a follow-up message for an interaction.
825819 #[ cfg( feature = "unstable_discord_api" ) ]
826- #[ cfg_attr( docsrs, doc( cfg( feature = "unstable_discord_api" ) ) ) ]
827820 pub async fn delete_followup_message (
828821 & self ,
829822 interaction_token : & str ,
@@ -843,7 +836,6 @@ impl Http {
843836
844837 /// Deletes a global command.
845838 #[ cfg( feature = "unstable_discord_api" ) ]
846- #[ cfg_attr( docsrs, doc( cfg( feature = "unstable_discord_api" ) ) ) ]
847839 pub async fn delete_global_application_command ( & self , command_id : u64 ) -> Result < ( ) > {
848840 self . wind ( 204 , Request {
849841 body : None ,
@@ -870,7 +862,6 @@ impl Http {
870862
871863 /// Deletes a guild command.
872864 #[ cfg( feature = "unstable_discord_api" ) ]
873- #[ cfg_attr( docsrs, doc( cfg( feature = "unstable_discord_api" ) ) ) ]
874865 pub async fn delete_guild_application_command (
875866 & self ,
876867 guild_id : u64 ,
@@ -990,7 +981,6 @@ impl Http {
990981
991982 /// Deletes the initial interaction response.
992983 #[ cfg( feature = "unstable_discord_api" ) ]
993- #[ cfg_attr( docsrs, doc( cfg( feature = "unstable_discord_api" ) ) ) ]
994984 pub async fn delete_original_interaction_response (
995985 & self ,
996986 interaction_token : & str ,
@@ -1168,7 +1158,6 @@ impl Http {
11681158 ///
11691159 /// [docs]: https://discord.com/developers/docs/resources/webhook#edit-webhook-message
11701160 #[ cfg( feature = "unstable_discord_api" ) ]
1171- #[ cfg_attr( docsrs, doc( cfg( feature = "unstable_discord_api" ) ) ) ]
11721161 pub async fn edit_followup_message (
11731162 & self ,
11741163 interaction_token : & str ,
@@ -1195,7 +1184,6 @@ impl Http {
11951184 ///
11961185 /// [docs]: https://discord.com/developers/docs/interactions/slash-commands#edit-global-application-command
11971186 #[ cfg( feature = "unstable_discord_api" ) ]
1198- #[ cfg_attr( docsrs, doc( cfg( feature = "unstable_discord_api" ) ) ) ]
11991187 pub async fn edit_global_application_command (
12001188 & self ,
12011189 command_id : u64 ,
@@ -1234,7 +1222,6 @@ impl Http {
12341222 ///
12351223 /// [docs]: https://discord.com/developers/docs/interactions/slash-commands#edit-guild-application-command
12361224 #[ cfg( feature = "unstable_discord_api" ) ]
1237- #[ cfg_attr( docsrs, doc( cfg( feature = "unstable_discord_api" ) ) ) ]
12381225 pub async fn edit_guild_application_command (
12391226 & self ,
12401227 guild_id : u64 ,
@@ -1261,7 +1248,6 @@ impl Http {
12611248 ///
12621249 /// [documentation]: https://discord.com/developers/docs/interactions/slash-commands#edit-guild-application-command
12631250 #[ cfg( feature = "unstable_discord_api" ) ]
1264- #[ cfg_attr( docsrs, doc( cfg( feature = "unstable_discord_api" ) ) ) ]
12651251 pub async fn edit_guild_application_command_permissions (
12661252 & self ,
12671253 guild_id : u64 ,
@@ -1288,7 +1274,6 @@ impl Http {
12881274 ///
12891275 /// [documentation]: https://discord.com/developers/docs/interactions/slash-commands#edit-guild-application-command
12901276 #[ cfg( feature = "unstable_discord_api" ) ]
1291- #[ cfg_attr( docsrs, doc( cfg( feature = "unstable_discord_api" ) ) ) ]
12921277 pub async fn edit_guild_application_commands_permissions (
12931278 & self ,
12941279 guild_id : u64 ,
@@ -1445,7 +1430,6 @@ impl Http {
14451430
14461431 /// Gets the initial interaction response.
14471432 #[ cfg( feature = "unstable_discord_api" ) ]
1448- #[ cfg_attr( docsrs, doc( cfg( feature = "unstable_discord_api" ) ) ) ]
14491433 pub async fn get_original_interaction_response (
14501434 & self ,
14511435 interaction_token : & str ,
@@ -1467,7 +1451,6 @@ impl Http {
14671451 ///
14681452 /// [docs]: https://discord.com/developers/docs/resources/webhook#edit-webhook-message
14691453 #[ cfg( feature = "unstable_discord_api" ) ]
1470- #[ cfg_attr( docsrs, doc( cfg( feature = "unstable_discord_api" ) ) ) ]
14711454 pub async fn edit_original_interaction_response (
14721455 & self ,
14731456 interaction_token : & str ,
@@ -2311,7 +2294,6 @@ impl Http {
23112294
23122295 /// Fetches all of the global commands for your application.
23132296 #[ cfg( feature = "unstable_discord_api" ) ]
2314- #[ cfg_attr( docsrs, doc( cfg( feature = "unstable_discord_api" ) ) ) ]
23152297 pub async fn get_global_application_commands ( & self ) -> Result < Vec < ApplicationCommand > > {
23162298 self . fire ( Request {
23172299 body : None ,
@@ -2325,7 +2307,6 @@ impl Http {
23252307
23262308 /// Fetches a global commands for your application by its Id.
23272309 #[ cfg( feature = "unstable_discord_api" ) ]
2328- #[ cfg_attr( docsrs, doc( cfg( feature = "unstable_discord_api" ) ) ) ]
23292310 pub async fn get_global_application_command (
23302311 & self ,
23312312 command_id : u64 ,
@@ -2367,7 +2348,6 @@ impl Http {
23672348
23682349 /// Fetches all of the guild commands for your application for a specific guild.
23692350 #[ cfg( feature = "unstable_discord_api" ) ]
2370- #[ cfg_attr( docsrs, doc( cfg( feature = "unstable_discord_api" ) ) ) ]
23712351 pub async fn get_guild_application_commands (
23722352 & self ,
23732353 guild_id : u64 ,
@@ -2385,7 +2365,6 @@ impl Http {
23852365
23862366 /// Fetches a guild command by its Id.
23872367 #[ cfg( feature = "unstable_discord_api" ) ]
2388- #[ cfg_attr( docsrs, doc( cfg( feature = "unstable_discord_api" ) ) ) ]
23892368 pub async fn get_guild_application_command (
23902369 & self ,
23912370 guild_id : u64 ,
@@ -2405,7 +2384,6 @@ impl Http {
24052384
24062385 /// Fetches all of the guild commands permissions for your application for a specific guild.
24072386 #[ cfg( feature = "unstable_discord_api" ) ]
2408- #[ cfg_attr( docsrs, doc( cfg( feature = "unstable_discord_api" ) ) ) ]
24092387 pub async fn get_guild_application_commands_permissions (
24102388 & self ,
24112389 guild_id : u64 ,
@@ -2423,7 +2401,6 @@ impl Http {
24232401
24242402 /// Gives the guild command permission for your application for a specific guild.
24252403 #[ cfg( feature = "unstable_discord_api" ) ]
2426- #[ cfg_attr( docsrs, doc( cfg( feature = "unstable_discord_api" ) ) ) ]
24272404 pub async fn get_guild_application_command_permissions (
24282405 & self ,
24292406 guild_id : u64 ,
0 commit comments