Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ```ts
- const embed = new ContainerBuilder()
- .addTextDisplayComponents(
- new TextDisplayBuilder()
- .setContent("# Welcome to Sky's Cave!")
- )
- .addSeparatorComponents(
- new SeparatorBuilder()
- .setSpacing(SeparatorSpacingSize.Large)
- )
- .addSectionComponents(
- new SectionBuilder()
- .addTextDisplayComponents(
- new TextDisplayBuilder()
- .setContent("## About me"),
- new TextDisplayBuilder()
- .setContent("I'm a 17 year old moroccan developer, with over 6 years of practical experience in C++ and 8 in JS/TS")
- )
- .setButtonAccessory(
- new ButtonBuilder()
- .setStyle(ButtonStyle.Link)
- .setURL("https://puffy.ink")
- .setLabel("Portfolio")
- )
- )
- .addSeparatorComponents(
- new SeparatorBuilder()
- .setSpacing(SeparatorSpacingSize.Small)
- )
- .addSectionComponents(
- new SectionBuilder()
- .addTextDisplayComponents(
- new TextDisplayBuilder()
- .setContent("## Community"),
- new TextDisplayBuilder()
- .setContent("I made this community to follow my long list of unfinished projects")
- )
- )
- .addSeparatorComponents(
- new SeparatorBuilder()
- .setSpacing(SeparatorSpacingSize.Small)
- )
- .addSectionComponents(
- new SectionBuilder()
- .addTextDisplayComponents(
- new TextDisplayBuilder()
- .setContent("## Rules"),
- new TextDisplayBuilder()
- .setContent("I don't think i need rules just yet, i mean just don't be stupid")
- )
- )
- .addSeparatorComponents(
- new SeparatorBuilder()
- .setSpacing(SeparatorSpacingSize.Small)
- )
- .addTextDisplayComponents(
- new TextDisplayBuilder()
- .setContent("Hope you have fun!\n-# DM Luna 'I read the rules' for a cookie!")
- )
Advertisement
Add Comment
Please, Sign In to add comment