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

Send discord memberlist to n8n #268

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Send discord memberlist to n8n #268

wants to merge 2 commits into from

Conversation

zuuring
Copy link
Member

@zuuring zuuring commented Jun 27, 2023

Notes

This PR adds the function to send Discord memberlist (Nickname, Username, UserID) to n8n in-order to create a user directory for running additional automations to Discord. It is set to run at buildtime and send an array of members to n8n.

To do

For now it's set to only run on initial build but if needed could be set to run on a timer or from an automation request on n8n.

@Shadowfiend
Copy link
Contributor

Out of curiosity, what kind of automation do we think would use this?

discord-scripts/fjord.ts Outdated Show resolved Hide resolved
discord-scripts/fjord.ts Outdated Show resolved Hide resolved
@zuuring
Copy link
Member Author

zuuring commented Jun 27, 2023

Out of curiosity, what kind of automation do we think would use this?

This is so we can easily scrape an updated list of discord users with nickname + userID so we can match it against google people directory storage. Basically so we can route interactions to discord based on a main user directory rather than matching nicknames. Right now for the email -> discord we are using a manual userID entry but this would end reliance on that. Ideally we could also use this to power any number of automations like sending DMs, assigning user roles automatically or even sending event reminders from valkyrie to DM or channels with specific users?

@Shadowfiend
Copy link
Contributor

Simplifying sending DMs is a likely antigoal for us, just to state that clearly. Love the rest of those ideas though 😊

@zuuring zuuring requested a review from Shadowfiend June 28, 2023 06:45
@zuuring
Copy link
Member Author

zuuring commented Aug 2, 2023

👋 Coming back to this one :) Should be good to merge!

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