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 Discord Announcement channels to allowed bridging types #889

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

TheTechmage
Copy link

@TheTechmage TheTechmage commented Jul 21, 2023

Add the News/Announcement channel type to the list of allowed channel types to bridge between. This can be useful for administrators to centralize announcements between services to reduce the ammount of busy-work that they may need to do.

This fixes #774 and it fixes #813, which is a duplicate

Add the News/Announcement channel type to the list of allowed channel
types to bridge between. This can be useful for administrators to
centralize announcements between services to reduce the ammount of
busy-work that they may need to do.

Signed-off-by: Colton Wolkins (Laptop) <[email protected]>
Signed-off-by: Colton Wolkins (Laptop) <[email protected]>
@TheTechmage TheTechmage marked this pull request as ready for review July 21, 2023 06:07
@TheTechmage TheTechmage requested a review from a team as a code owner July 21, 2023 06:07
@Miepee
Copy link
Contributor

Miepee commented Jul 21, 2023

May be useful to add a test.

@TheTechmage
Copy link
Author

TheTechmage commented Jul 21, 2023

I'm not sure how to add a test for this kind of stuff, eheh. Most of the code I deal with are core python services that don't exactly rely on external services 😅

Always willing to learn, I just don't know where to start for something out of my field of expertise.

@Miepee
Copy link
Contributor

Miepee commented Jul 21, 2023

Not that familiar either, but you probably want to make a copy of this test here:

it("Should send messages", async () => {

And then check whether non-announcement and announcement messages in news channel work.

Signed-off-by: Colton Wolkins (Laptop) <[email protected]>
@TheTechmage
Copy link
Author

Thank you for pointing me in the right direction! Got a test added

@Henry-Hiles
Copy link

Are there any blockers on this PR? Its quite badly needed.

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.

Announcements channel bridging Bridge fails on Announcement channels
3 participants