awaitinteraction.reply({content:`This asset may not exist or is not a model (id: ${id}). Your map must be a model.`,ephemeral:true});
return;
}
// 403 (Forbidden) means the asset isn't distributed
if(assetInfo.status===403||!assetInfo.forSale){
awaitinteraction.reply({content:`This model (id: ${id}) is off sale. Please configure it to be on sale (Configure -> Distribute on Creator Store).`,ephemeral:true});
return;
}
if(assetInfo.typeId!==AssetType.Model){
awaitinteraction.reply({content:`This asset (id: ${id}) is not a model. Your map must be a model.`,ephemeral:true});
return;
}
if(assetInfo.price!==0){
awaitinteraction.reply({content:`This model (id: ${id}) is not free. Please change the price to be free.`,ephemeral:true});
Nowthatyour[map(id:${id})](<https://create.roblox.com/store/asset/${id}/>) has been taken by the bot you can load it into the [${game} maptest place](<${gamePlaces[game]}>).
Toloadyourmap,jointhegameanddo\`!map ${id}\`. If your map successfully loaded, do \`!rtv\` and then choose your map.