Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request includes several changes to the
packages/api
andpackages/handler
modules, focusing on improving the flexibility of the media update process and enhancing the user interaction commands. The most important changes include making fields optional in theUpdateMediaMutation
and related structs, adding hidden input options to various commands, and introducing new interaction commands.Changes to
packages/api
:UpdateMediaMutation
andMutationMediaRequest
optional to allow partial updates. (packages/api/src/entities/update_entry.rs
) [1] [2]format
method inUpdateMediaMutation
to handle optional fields and provide default values. (packages/api/src/entities/update_entry.rs
)query
method to include only provided fields in the request variables. (packages/api/src/entities/update_entry.rs
)Changes to
packages/handler
:infoAdd
button interaction for providing invite and support links. (packages/handler/src/interactions/buttons/infoAdd.ts
)invite
command to generate bot invite links. (packages/handler/src/interactions/commands/invite.ts
)anime
,character
,manga
,recommend
,staff
,studio
) to allow ephemeral responses. (packages/handler/src/interactions/commands/anime.ts
,packages/handler/src/interactions/commands/character.ts
,packages/handler/src/interactions/commands/manga.ts
,packages/handler/src/interactions/commands/recommend.ts
,packages/handler/src/interactions/commands/staff.ts
,packages/handler/src/interactions/commands/studio.ts
) [1] [2] [3] [4] [5] [6]info
command to include new buttons for inviting the bot and joining the support server. (packages/handler/src/interactions/commands/info.ts
) [1] [2]