All tools / Commands

Component custom_id and limits checker

Check buttons and select menus: custom_id 1–100 characters and unique, 5 buttons per row, 25 options, labels and placeholders.

State in custom_id

custom_id is a 1–100 character string that comes back in the interaction, so it often encodes state like ticket:close:42. It must be unique within a message. Link buttons take a url and no custom_id. Legacy messages allow 5 action rows with 5 buttons or one select each; Components V2 messages allow up to 40 components.

Related: Interaction response type picker · Embed JSON limit checker