Samasaur1 / rssbot

rssbot. it's a discord bot that watches rss feeds
1 stars 0 forks source link

rssbot skips posts when configured to post into stale threads #2

Closed Samasaur1 closed 1 year ago

Samasaur1 commented 1 year ago

ok so apparently threads eventually get old enough that bots cant see them, which means that rssbot fails to put its typing indicator there, but it thinks that it has posted the latest post, so even if i wake up the thread it's too late

Jul 06 15:32:04 blinky rssbot-start[96745]: verbose: adding to list
Jul 06 15:32:04 blinky rssbot-start[96745]: verbose: entry GPG Agent Forwarding
Jul 06 15:32:04 blinky rssbot-start[96745]: verbose: entry class <__main__.Entry object at 0x7efcd7e27400>
Jul 06 15:32:04 blinky rssbot-start[96745]: verbose: in __eq__
Jul 06 15:32:04 blinky rssbot-start[96745]: verbose: match by id: True
Jul 06 15:32:04 blinky rssbot-start[96745]: verbose: equal
Jul 06 15:32:04 blinky rssbot-start[96745]: verbose: <__main__.Entry object at 0x7efcdd0a5090>
Jul 06 15:32:04 blinky rssbot-start[96745]: verbose: 1 entries
Jul 06 15:32:04 blinky rssbot-start[96745]: New post on https://samasaur1.github.io/feed.xml: Split Tunneling with Tailscale and WireGuard on macOS (https://samasaur1.github.io/blog/split-tunneling-with-tailscale-and-wireguard-on-macos)
Jul 06 15:32:04 blinky rssbot-start[96745]: Unexpected err=AttributeError("'NoneType' object has no attribute 'typing'"), type(err)=<class 'AttributeError'>
Samasaur1 commented 1 year ago

Okay, the latest version will now no longer get confused, and will notify me/the operator of the bot in the configured channel. What it does not do (currently) is automatically remove the channel. Use @RssBot prune to do that