Skip to content

Releases: notarock/technews-bot

v0.4.0

10 Jul 04:33
Compare
Choose a tag to compare

Features

  • Added remove command to remove a subject from a channel
  • Moved the addsubject command to a simpler add command

Bug fixes

  • List command tell the user how to add a subject if the current guild has no bound subjects

Bugfix: Do not repeatedly send hackernews discussions posts

07 Apr 18:59
46add24
Compare
Choose a tag to compare
Skip articles without a direct link

Sometimes, an article on Hackernews can be a discussion or a hiring
post. In that case, the article's link is empty, which means that we
can't index it properly to avoid sending it repeatedly.

This fix simply skips any post that does not contains a link to an
outside source. We simply ignore hiring, discussion, etc. As those are
not really "Tech News" worthy anyway.

v0.3.1: DB Refactor

12 Mar 06:13
Compare
Choose a tag to compare

Database refactor, you will need to start fresh

I was not very happy with how the guilds were saved in the DB. It meant that if there was 2 channel in one guild that where bound, we would keep trap of 2 copy of the guild.

Now, channel and it's subjects are bound to an array of combinations that are held in one guild within the database. This allows to have different subjects in different channels.

Also, the in-memory article store was changed to use the DB in order to limit memory usage as the bot runs for months at a time.

v0.2.0

25 Jan 21:54
fa86737
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.1.0...v0.2.0

Chat commands and multi-guild support

08 Nov 03:47
Compare
Choose a tag to compare

New commands, with prefix !technews :

  • help: Print man page
  • bind: Link technews-bot to the channel where news article should be sent to

Behind the scenes:

  • MongoDB integration to same discord guilds and preferences (Allow to use technews-bot with more than a hard-coded guild)

Add support for news aggregator https://lobste.rs

02 Oct 05:41
Compare
Choose a tag to compare

Features

  • Added support for the technews aggregator https://lobste.rs
    • No API available, parse HTML instead
    • Introduces article TAGS
  • A more complete README

Technical stuff

  • News articles are parsed into a common Article type for easier aggregation from multiple sources.
  • A bit of refactoring.
  • Wait 3 secondes between discord messages as to not get rate limited.

Initial release

17 Sep 03:49
Compare
Choose a tag to compare
  • Pull most recent articles from Hackernews and filter them based on hardcoded center of interests
  • Periodically send said articles to a discord channel, configured via env vars
  • Should not repeatly send the same articles if already sent

v0.0.0-3

17 Sep 03:38
Compare
Choose a tag to compare
On tag

v0.0.0-2

17 Sep 03:36
Compare
Choose a tag to compare
Found a github actions from their readme

Testing github actions

17 Sep 03:29
Compare
Choose a tag to compare
v0.0.0-1

Github workflow to release image on tag