mirror of
https://github.com/cassoule/flopobot_v2.git
synced 2026-01-18 16:37:40 +01:00
fix
This commit is contained in:
@@ -121,11 +121,13 @@ export async function handleInventoryCommand(req, res, client, interactionId) {
|
||||
image: { url: getImageUrl(currentSkin, skinData) },
|
||||
}],
|
||||
components: [{ type: MessageComponentTypes.ACTION_ROW, components: components },
|
||||
{ type: MessageComponentTypes.ACTION_ROW, components: {
|
||||
type: MessageComponentTypes.BUTTON,
|
||||
url: `${process.env.FLAPI_URL}/akhy/${targetMember.id}`,
|
||||
label: 'Voir sur FlopoSite',
|
||||
style: ButtonStyleTypes.LINK,}}],
|
||||
{ type: MessageComponentTypes.ACTION_ROW,
|
||||
components: [{
|
||||
type: MessageComponentTypes.BUTTON,
|
||||
url: `${process.env.FLAPI_URL}/akhy/${targetMember.id}`,
|
||||
label: 'Voir sur FlopoSite',
|
||||
style: ButtonStyleTypes.LINK,}]
|
||||
}],
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
@@ -128,11 +128,13 @@ export async function handleInventoryNav(req, res, client) {
|
||||
image: { url: getImageUrl(currentSkin, skinData) },
|
||||
}],
|
||||
components: [{ type: MessageComponentTypes.ACTION_ROW, components: components },
|
||||
{ type: MessageComponentTypes.ACTION_ROW, components: {
|
||||
type: MessageComponentTypes.BUTTON,
|
||||
url: `${process.env.FLAPI_URL}/akhy/${targetMember.id}`,
|
||||
label: 'Voir sur FlopoSite',
|
||||
style: ButtonStyleTypes.LINK,}}],
|
||||
{ type: MessageComponentTypes.ACTION_ROW,
|
||||
components: [{
|
||||
type: MessageComponentTypes.BUTTON,
|
||||
url: `${process.env.FLAPI_URL}/akhy/${targetMember.id}`,
|
||||
label: 'Voir sur FlopoSite',
|
||||
style: ButtonStyleTypes.LINK,}]
|
||||
}],
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user