Crate attributes

Source

Attribute Macrosยง

component_handler
Convenience procedural macro that allows you to bind an async function to the [InteractionHandler] for handling component interactions.
defer
Send out a deffered channel message response before doing work.
slash_command
Convenience procedural macro that allows you to bind an async function to the [InteractionHandler]