Skip to content
This repository has been archived by the owner on Mar 22, 2024. It is now read-only.

Discord Auth link with user, Linking of discordserver with project, Webhook and invitelink #95

Merged
merged 10 commits into from
Apr 20, 2022

Conversation

Aavild
Copy link
Collaborator

@Aavild Aavild commented Apr 19, 2022

src/ressources/views/projects/services/discord.ejs holds the frontend and is handled by src/app/Http/Discordcontroller.js
discord.ejs also has a frontend script in public/scripts/discordAuth.js and is accesed by the route /discord

Together they currently provide an auth link the user can use to link discord with their projecthub account. Then they can click another link to create a discord server based on a template. Then they can click another link to add the discordbot to the server. The discordbot runs from src/discord and has the handler GuildCreateHandle.js for when it gets invited to a discordserver. The bot asks which projecthub project the user want to add the discordserver to and links discordserver, webhook and invitelink with the projecthub project.

Finally with a project linked a 4th link on the website will now appear with the invitelink provided.
Resolves #7

@Aavild Aavild added Backend Node, Express, Databases & other nonvisual elements Priority medium Not immediately important, but very relevant Task normal Takes average knowledge and time to do labels Apr 19, 2022
@Aavild Aavild added this to the Minimal Viable Product milestone Apr 19, 2022
@Aavild Aavild self-assigned this Apr 19, 2022
@Aavild Aavild linked an issue Apr 19, 2022 that may be closed by this pull request
Copy link
Owner

@Decode84 Decode84 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@Decode84 Decode84 merged commit 78ddbf2 into dev Apr 20, 2022
@Decode84 Decode84 deleted the 22-send-files-on-discord branch April 20, 2022 10:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Backend Node, Express, Databases & other nonvisual elements Priority medium Not immediately important, but very relevant Task normal Takes average knowledge and time to do
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Send files on Discord Discord server templates
2 participants