#[Discord-Bot] Bot reacts to Forth exercise with Forth reaction

7 messages · Page 1 of 1 (latest)

split urchin
#

I've seen this occur a few times in #mentor-requests, but mentoring requests for the Forth exercise receive the Forth reaction because we have an unmaintained Forth track. I skimmed the exercise folders in the problem-specifications repo, and I think this is the only exercise with this issue.

If we do want to resolve this, we'd still want Bob to react to mentoring request messages to tag the correct language. For the example Gleam: https://exercism.org/mentoring/requests/gibberish => Forth (BNAndras), I'm thinking we do a check if the message we're parsing contains an Exercism mentoring request URL and then remove everything after that. That might help too if the user name mirrors a track so Gleam: https://exercism.org/mentoring/requests/gibberish => Forth (BNAndras) and Gleam: https://exercism.org/mentoring/requests/gibberish => Yacht (Forth) becomes "Gleam: " in both cases. Then Bob can still react accordingly.

flat scaffold
#

The bot doesn't do any Exercism specific parsing like that. I don't think this bug is necessarily a "bug" and worth fixing

#

Unless we just want to disable the bot in the request threads

split urchin
#

If it's a trivial thing to exclude it from parsing #mentor-requests, I think that's worth doing because I'm not convinced the bot adds much value there. We already know from the thread title and the language in the message what track the request is for. I usually ignore the reactions too so I only caught it because I saw two reactions instead of the usual one.

If we don't want to exclude it, I'm fine with that too. This is the only track where the name can refer to both the track and an exercise found in the other tracks. Since the track is not actively maintained, I don't think this reaction will occur often. I count only two times where Forth came up outside of #mentor-requests, and both were pretty clearly discussing the exercise, not the track.

split urchin
#

In #mentor-requests, I'm not seeing two of my mentoring requests in Common Lisp (3 hours ago) and Elisp (6 minutes ago). I made a test monitoring request in VB.NET and don't see that one either.

flat scaffold
#

I reran it with debug logs added and now they're showing up. I have no clue why they didn't show up before.