Closed ValgulNecron closed 1 month ago
Since CurrentApplicationInfo::integration_types_config
is gated behind unstable_discord_api
, it's actually ok to break the serenity API and change its oauth2_install_params
field to Option<InstallParams>
.
Hi thanks for the info i changed it to an option and removed the change I made before
Added #[serde(default)] to oauth2_install_params in InstallationContextConfig and added a Default implementation to InstallParams #2883 and https://discord.com/developers/docs/resources/application#application-object-application-structure.