@@ -278,13 +278,13 @@ def delete_application_emoji(token, application_id, emoji_id)
278278
279279 # Edit the current application for the requesting bot user.
280280 # https://discord.com/developers/docs/resources/application#edit-current-application
281- def update_current_application ( token , custom_install_url = :undef , description = :undef , role_connections_verification_url = :undef , install_params = :undef , integration_types_config = :undef , flags = :undef , interactions_endpoint_url = :undef , tags = :undef , event_webhooks_url = :undef , event_webhooks_status = :undef , event_webhooks_types = :undef , icon = :undef , cover_image = :undef )
281+ def update_current_application ( token , custom_install_url : :undef , description : :undef , role_connections_verification_url : :undef , install_params : :undef , integration_types_config : :undef , flags : :undef , interactions_endpoint_url : :undef , tags : :undef , event_webhooks_url : :undef , event_webhooks_status : :undef , event_webhooks_types : :undef , icon : :undef , cover_image : :undef )
282282 Discordrb ::API . request (
283283 :applications_me ,
284284 nil ,
285285 :patch ,
286286 "#{ Discordrb ::API . api_base } /applications/@me" ,
287- { custom_install_url : custom_install_url , description : description , role_connections_verification_url : role_connections_verification_url , install_params : install_params , integration_types_config : integration_types_config , flags : flags , interactions_endpoint_url : interactions_endpoint_url , tags : tags , event_webhooks_url : event_webhooks_url , event_webhooks_status : event_webhooks_status , event_webhooks_types : event_webhooks_types , icon : icon , cover_image : cover_image } . reject { |_ , v | v == :undef } . to_json ,
287+ { custom_install_url : custom_install_url , description : description , role_connections_verification_url : role_connections_verification_url , install_params : install_params , integration_types_config : integration_types_config , flags : flags , interactions_endpoint_url : interactions_endpoint_url , tags : tags , event_webhooks_url : event_webhooks_url , event_webhooks_status : event_webhooks_status , event_webhooks_types : event_webhooks_types , icon : icon , cover_image : cover_image } . reject { |_ , value | value == :undef } . to_json ,
288288 Authorization : token ,
289289 content_type : :json
290290 )
0 commit comments