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

Different namespaces with different webhooks #90

Open
s4mur4i opened this issue Sep 21, 2021 · 1 comment
Open

Different namespaces with different webhooks #90

s4mur4i opened this issue Sep 21, 2021 · 1 comment

Comments

@s4mur4i
Copy link

s4mur4i commented Sep 21, 2021

Hello,

I have seen the possibility to push notifications acvording to certain critreia, and multiple webhooks, but i was looking for an option to combine these.
I have a namespace that is handled by one team, and would need their notifications, and another namespace which is handled by another team with a different discord.
Is there a way to solve this?

Thank you!

@kulttuuri
Copy link
Owner

Hey there!

Hmm, my thinking is that for you to have this behavior, you would probably need to rename the extension name (in DiscordNotifications.php::wfLoadExtension) and also inside the DiscordNotificationsCore and then load and configure the second extension in your LocalSettings.php file.

Then you can individually configure the allowed namespaces for both extensions and have them submit data into different API endpoints.

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

No branches or pull requests

2 participants