test
This commit is contained in:
parent
143102d7ef
commit
866c16cf0e
@ -99,7 +99,6 @@ const buildSelectedImageEmbed = (item, index, total) => (
|
||||
new EmbedBuilder()
|
||||
.setColor('#f59e0b')
|
||||
.setTitle(item.name)
|
||||
.setDescription(`Image ${index + 1}/${total}`)
|
||||
.setImage(toCacheBustedUrl(item.url))
|
||||
);
|
||||
|
||||
@ -107,7 +106,6 @@ const buildImageSelectorRow = (items, selectedIndex) => {
|
||||
const options = items.slice(0, 25).map((item, index) => ({
|
||||
label: item.name.length > 100 ? `${item.name.slice(0, 97)}...` : item.name,
|
||||
value: String(index),
|
||||
description: item.url.length > 95 ? `${item.url.slice(0, 92)}...` : item.url,
|
||||
default: index === selectedIndex
|
||||
}));
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user