Skip to content

Action Rows

paige edited this page Aug 28, 2023 · 4 revisions

Action rows are what puts buttons and selections together on one row
you can have up to 5 action rows per message

Creating Action Rows

Action rows are classes so they are created like this:

let row = new wc.ActionRow([/* stuff */]);

Action Row Structures

If you want more info on how action rows function this is the code:

ActionRow = class {
	constructor(array) {
		return { type: 1, components: array };
	}
}
Clone this wiki locally