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

Add some sort of Discord embed. #120

Open
kelszo opened this issue Dec 28, 2020 · 2 comments
Open

Add some sort of Discord embed. #120

kelszo opened this issue Dec 28, 2020 · 2 comments
Labels
difficult-fix This takes much time to fix

Comments

@kelszo
Copy link
Member

kelszo commented Dec 28, 2020

This could be done by creating a custom Discord widget and using the Discord widget api (https://discord.com/api/guilds/468044152970674176/widget.json), this could be served by the digitalungdom-api to prevent calling discord.com from the front-end.

Another solution would be using the Discord iframe, but then the front-end would call a third party url.

@Nautman Nautman added the difficult-fix This takes much time to fix label Dec 28, 2020
@Nautman
Copy link
Member

Nautman commented Dec 29, 2020

I think it would be nice to get the following data:

  • Number of online users
  • Number of users total
  • Invite link

The below would be nice but would require an image proxy (if we don't want third-party requests):

  • Logo of server
  • List of emotes and their pictures

@Nautman
Copy link
Member

Nautman commented Jan 4, 2021

I'm not entirely sure how this component should look. Perhaps I will post some suggestions here later.

Nautman added a commit that referenced this issue Mar 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
difficult-fix This takes much time to fix
Projects
None yet
Development

No branches or pull requests

2 participants