MCPcopy
hub / github.com/eritislami/evobot / createButtonRow

Method createButtonRow

structs/MusicQueue.ts:285–300  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

283 ]);
284
285 private createButtonRow() {
286 const firstRow = new ActionRowBuilder<ButtonBuilder>().addComponents(
287 new ButtonBuilder().setCustomId("skip").setLabel("⏭").setStyle(ButtonStyle.Secondary),
288 new ButtonBuilder().setCustomId("play_pause").setLabel("⏯").setStyle(ButtonStyle.Secondary),
289 new ButtonBuilder().setCustomId("mute").setLabel("🔇").setStyle(ButtonStyle.Secondary),
290 new ButtonBuilder().setCustomId("decrease_volume").setLabel("🔉").setStyle(ButtonStyle.Secondary),
291 new ButtonBuilder().setCustomId("increase_volume").setLabel("🔊").setStyle(ButtonStyle.Secondary)
292 );
293 const secondRow = new ActionRowBuilder<ButtonBuilder>().addComponents(
294 new ButtonBuilder().setCustomId("loop").setLabel("🔁").setStyle(ButtonStyle.Secondary),
295 new ButtonBuilder().setCustomId("shuffle").setLabel("🔀").setStyle(ButtonStyle.Secondary),
296 new ButtonBuilder().setCustomId("stop").setLabel("⏹").setStyle(ButtonStyle.Secondary)
297 );
298
299 return [firstRow, secondRow];
300 }
301
302 /**
303 * Sets up a message component collector for the playing message to handle

Callers 1

sendPlayingMessageMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected