v1

latestOpenAPI 3.0.12026-07-17310206.9 KB

Handles a slash command interaction in a Discord bot.

This function processes a slash command interaction received from Discord. It retrieves the corresponding command handler for the interaction and executes it, managing the lifecycle of slash command interactions in a Discord bot.

post/handleInteraction

Request body

Response

Interaction handled successfully

successboolean

Indicates if the interaction was handled successfully

messagestring

A message describing the result of the interaction handling