Archived
1
0
Fork 0
Commit graph

6 commits

Author SHA1 Message Date
b6feb2d656
Auto-remove stale products (#30)
Signed-off-by: Julien Riou <julien@riou.xyz>
2021-05-14 16:08:09 +02:00
d6ee2922d7
Create new thread when product is available again (#28)
Instead of spamming a twitter thread with generic replies confusing the
community because the original message was posted long time ago, the bot now
creates a new thread with all product information and an incrementing counter
for uniqueness.
2021-04-23 12:22:18 +02:00
1f5cef17d2
Handle Twitter duplicates (#20)
This commit adds a hash attribute to help identify duplicate messages. Tweets
have a TweetID attribute for the initial thread identifier and a LastTweetID
attribute to keep track of the last reply to eventually continue the thread if a
duplicate is detected.

Signed-off-by: Julien Riou <julien@riou.xyz>
2021-04-15 15:13:00 +02:00
d583d559d1
Bugfix Twitter foreign key
Signed-off-by: Julien Riou <julien@riou.xyz>
2021-04-07 08:46:09 +02:00
305b3eeb76
Enable replies on Twitter and Telegram
By default, when a product is available, a notification is sent. When that same
product is not available, a reply is sent to the original message. With tons of
notifications, replies might be seen as flooding. This commit adds an option to
explicitly enable replies on Twitter and Telegram notifiers. By default, reply
messages are disabled.

Signed-off-by: Julien Riou <julien@riou.xyz>
2021-04-01 13:14:00 +02:00
0a9ae46d19
Add Telegram Messenger notifications
Signed-off-by: Julien Riou <julien@riou.xyz>
2021-03-24 09:35:37 +01:00
Renamed from twitter.go (Browse further)