Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add invite and attachments container components #94

Merged
merged 6 commits into from
Jul 22, 2021

Conversation

Snazzah
Copy link
Contributor

@Snazzah Snazzah commented Jul 22, 2021

This PR adds a discord-invite component as well as a discord-attachments component to allow more than one attachment with proper styling.

preview

<discord-message profile="favna">
	discord.gg/djs <br />
	discord.gg/code <br />
	discord.gg/6gakFR2
	<discord-attachments slot="attachments">
		<discord-invite
			name="discord.js - Imagine a bot"
			icon="/static/discordjs.png"
			url="https://discord.gg/djs"
			online="16417"
			members="87147"
			verified="true"
		></discord-invite>
		<discord-invite
			name="The Coding Den"
			icon="/static/tcd.png"
			url="https://discord.gg/code"
			online="18456"
			members="73548"
			partnered="true"
		></discord-invite>
		<discord-invite
			name="Skyra Lounge"
			url="https://join.skyra.pw"
			online="176"
			members="738"
		></discord-invite>
	</discord-attachments>
</discord-message>

@Snazzah Snazzah requested a review from favna as a code owner July 22, 2021 14:33
@Snazzah Snazzah changed the title feat: Add invites and attachments container feat: Add invites and attachments container components Jul 22, 2021
@favna
Copy link
Member

favna commented Jul 22, 2021

@all-contributors please add @Snazzah for code

@allcontributors
Copy link
Contributor

@favna

I've put up a pull request to add @Snazzah! 🎉

@favna favna changed the title feat: Add invites and attachments container components feat: add invite and attachments container components Jul 22, 2021
@favna favna merged commit 3b782a0 into skyra-project:main Jul 22, 2021
@favna
Copy link
Member

favna commented Jul 22, 2021

Published to NPM as v2.2.0

@Snazzah Snazzah deleted the pr/invites branch July 25, 2021 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants