Check out example codes for "how to embed my website into Discord". It will help you in understanding the concepts better.

Code Example 1

These '<meta>' tags must be in the '<head>' tag
<meta property="og:type" content="website">
<meta property="og:site_name" content="Website Name">
<meta property="og:title" content="Title">
<meta property="og:description" content="This is an example">
<meta property="og:image" content="">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@discord">
<meta name="twitter:creator" content="@yourtwitter">

Learn ReactJs, React Native from