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

Feature update: Enable the bot to send regular News feed to a dedicated channel #9

Merged
merged 9 commits into from
Nov 8, 2021

Conversation

SVijayB
Copy link
Member

@SVijayB SVijayB commented Nov 7, 2021

Description

The added feature sends out regular news updates from inshorts.
It currently uses the unofficial API built here

Related Issue

This PR closes #6

Motivation and Context

OSC Discord server currently has a dedicated tech update channel that has been inactive for a while now.
The goal of this feature update is to enable the bot to send regular tech updates to this channel.

Screenshots (if any)

image

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.

@SVijayB
Copy link
Member Author

SVijayB commented Nov 7, 2021

Most of the feature has already been set up and is ready to be merged. However... The most recent news data has to be differentiated from the rest and it's URL(or any unique ID) saved in data.json to check periodically for new data.

This is yet to be implemented.

@SVijayB SVijayB self-assigned this Nov 7, 2021
@SVijayB SVijayB added the enhancement New feature or request label Nov 7, 2021
@SVijayB SVijayB requested review from thekodeking and removed request for thekodeking November 7, 2021 11:12
Copy link
Contributor

@thekodeking thekodeking left a comment

Choose a reason for hiding this comment

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

Yay, let's merge it. Works fine.

@thekodeking thekodeking merged commit 9fda514 into main Nov 8, 2021
@SVijayB SVijayB deleted the news-update branch November 8, 2021 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature request: Regularly post latest news content (Using RSS Feed)
2 participants