Nokeo08 / standardsbot

The Unlicense
11 stars 2 forks source link

Some comments ignored, no bot reply triggered #23

Open jjstables opened 5 years ago

jjstables commented 5 years ago

Possibly isolated to a single user or group of users, other users have successfully received bot replies within the same time frame.

Example comments which should but did not trigger bot replies:

Nokeo08 commented 5 years ago

I am off Reddit until Easter. I won't really be able to look into it until then. I'm not sure where the problem would be. It's either in the regex or the parsing.

jjstables commented 5 years ago

All good, just getting it logged.

Nokeo08 commented 5 years ago

I just spun up a local instance of the bot pointed at a private sub and posted those same citations and they all triggered. ¯_(ツ)_/¯

The only time the bot looks at user name is to log who is being responded to. There is no ability to blacklist users

terevos commented 1 year ago

partypastor found that if he made the comments in nureddit, they were ignored. Switching to markdown showed that the comment is actually formatted like this: /[WCF 5.1/] (with escaped brackets).

Reformatting without the escaped brackets fixed the issue.

Nokeo08 commented 1 year ago

Just merged PR #28. Should fix this issue when it goes live.

terevos commented 1 year ago

The bot will not likely be responding to 4 year old comments. So I went through these links:

  1. No brackets.
  2. Same issue: \[HC Q&A 98\]
  3. Same issue: \[WCF 29:7\]
  4. Same issue: \[WCF 29.4\]