Custom ID Actions
Through Message Components you can create custom interactions with different features to help customize your experience with Betsy even further.
Last updated
Through Message Components you can create custom interactions with different features to help customize your experience with Betsy even further.
Last updated
Each component has a field available called "Custom ID". This field can be used to create custom interactions between features and allow you to create your unique custom actions.
When using a Custom ID Action for a menu there is both a Menu Custom ID and an Menu Option Custom ID. Be sure to enter both of these values correctly for the functionality to work.
Custom actions may have variables that are accepted that can be added using the ":" character. Reference the example on each of the custom actions to understand how to add those variables and what variables each custom action accepts.
You can chain Custom ID Actions together to create multiple actions for a single component action. For example ButtonChannelSendTrackedMessage:test&CreateTicket:1098254540890972220:1098254541406883924
which will send a tracked message and create a ticket both in the same button click.
Chaining Custom ID Actions is a premium feature. Refer to the https://docs.betsybot.xyz/betsy-bot-discord-bot/betsy-premium-subscriptions page for more information
This allows you to open tickets through a menu allowing you to create different types of tickets from a single message. You can read it more using the page below
You must supply the identifier of the ticket in the fields custom ID.
This action can only be used in Button components and when used inside of a Ticket Channel will close the ticket. Acts the same as the global command "/ticket close"
This action can only be used in Button components. This custom action can be used to confirm the closure of a ticket if the "Auto Close" feature is used. This will force close the ticket. Currently this only works when the ticket creator clicks the button.
This action can only be used in Button components. This custom action can be used to confirm the closure of a ticket if the "Auto Close" feature is used. This will cancel the auto close that has been setup for the ticket.
This action can only be used in Button components. When used inside a ticket channel this will delete a ticket. This will override the close action and the ticket will not be closed. This is essentially the same as deleting the channel or using the "/channel delete" global command.
This action can only be used in Button components. When used inside a ticket channel this will claim the ticket. This behavior mimics the behavior of the Claim Ticket button added when the ticket is opened in the initial message. A ticket MUST have "Allow Claiming" setting turned on.
This allows you to open tickets through button components. You can read it more using the page below. You must use the delimiter and append the identifier for the support ticket.
Example "ButtonCreateTicket:Some Ticket Identifier"
This allows you to send a tracked message with a button. This is a channel message and anyone in the channel can see this message. You must use the delimiter and append the identifier for the tracked message.
The channel ID parameter is option. The channel id parameter can be used to change which channel the message will be sent in. Without this parameter it will always be sent to the channel the button was clicked in.
Example "ButtonSendTrackedMessage:MyIdentifier"
Example "ButtonSendTrackedMessage:MyIdentifier:1234567890"
This allows you to send a tracked message with a button. This is a channel message and anyone in the channel can see this message. You must use the delimiter and append the identifier for the tracked message.
Example "ButtonSendTrackedMessage:MyIdentifier"
An interaction response is required for components so when using this you will receive "Message Sent" privately. We suggest using ButtonSendTrackedMessage instead.
This allows you to send a tracked message with a button. This is a reply message that is private and only the person interacting with the button can see the tracked message. You must use the delimiter and append the identifier for the tracked message.
Example "ButtonReplyTrackedMessage:TestTrackedMessage"
This allows you to update the message that was interacted with. The new message that appears will use the visibility of the original message. That means if you update a replied to message ("Only visible to me") it will still only be visible to the person interacting. You must use the delimiter and append the identifier for the tracked message.
Example "ButtonUpdateWithTrackedMessage:Updated Tracked Message"
This allows you to have a button that will add a user to a specific role. You must use the delimiter and append the role ID.
Example "AddRole:951157914612146241"
This allows you to have a button that will remove a role from a specific user. You must use the delimiter and append the role ID.
Example "RemoveRole:951157914612146241"
This allows you to update the message that was interacted with. The new message that appears will use the visibility of the original message. That means if you update a replied to message ("Only visible to me") it will still only be visible to the person interacting.
The Menu Custom ID Must be "MenuUpdateWithTrackedMessage" and then the Option Custom ID Must match an Identifier used for a Tracked Message
This allows you to send a tracked message with a button. This is a channel message and anyone in the channel can see this message.
The Menu Custom ID Must be "MenuSendTrackedMessage" and then the Option Custom ID Must match an Identifier used for a Tracked Message
This allows you to send a tracked message with a button. This is a channel message and anyone in the channel can see this message.
The Menu Custom ID Must be "MenuChannelSendTrackedMessage" and then the Option Custom ID Must match an Identifier used for a Tracked Message
An interaction response is required for components so when using this you will receive "Message Sent" privately. We suggest using MenuSendTrackedMessage instead
This allows you to send a tracked message with a menu select. This is a reply message that is private and only the person interacting with the button can see the tracked message.
The Menu Custom ID Must be "MenuReplyTrackedMessage" and then the Option Custom ID Must match an Identifier used for a Tracked Message
Deletes the message that the component is attached to
Deletes the last message that was sent for a tracked message
Example "DeleteTrackedMessage:MyIdentifier"
This is the custom ID action used to send the verification for the User Verification feature. This custom ID action allows you to customize the message that is sent to your liking. Creating a button with this Custom ID Action will send the link they need to click in order to verify for your server.
Opens up the modal experience to review the server using the Review feature
Opens up the modal experience to review the Server using the Review feature
Opens up the modal experience to review the category provided with the parameter.
Example "ReviewCategory:MyReviewCategory"
Subscribes the channel to updates about the issue.
Example "GithubIssueSubscribe:my-repo:1234"
Saves the transcript for the support ticket that this custom ID action was executed in
Example "SaveTicketTranscript"
Sends the HTML File for the ticket transcript in the support ticket channel the Custom ID Action was executed in
Example "GenerateTicketTranscript"
Moves the channel that this custom ID action is executed on.
Example "MoveChannel:123456789"
Renames the channel with the given string
Example "RenameChannel:SomeNewName"