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

Using a webhook for the Reddit post relay #391

Open
SebastiaanZ opened this issue Aug 5, 2019 · 0 comments

Comments

@SebastiaanZ
Copy link
Member

commented Aug 5, 2019

We're currently relaying the new Reddit posts (and the weekly top posts overview) as regular messages to a text channel. Since the subreddit sees frequent activity, I propose to change this to a method that uses a webhook to post the messages to the channel.

This has two advantages:

  1. Webhooks use a different rate limit pool than regular messages;
  2. We can use a stylized author icon and display_name

The latter is not really important, but will look nice; the former is the biggest advantage of this change.

This should not be difficult to implement, although an admin+ needs to create the proper webhook for the relevant channel.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.