Closed kdchin closed 10 months ago
This looks good to me, thanks for making the change! One improvement, which probably isn't worth making but might be worth putting a comment in the code for, is to point out in the AutoTest code that the feature has been added to the backend properly now and it could be moved. I wouldn't make the change because it isn't worth it, but the note might be helpful in case anyone notices the duplication between autotest and backend.
The Feedback table in mongo stores student usage of
#check
and@c<n>-bot
commands. I'd like this API to be able to update the frequency checker via the plugin via the@backend
path.I pretty much copied the code in the
@autotest
implementation of this method, and adapted it to the mongo interface provided in this file. I'm not sure how to test that it will work though, so let me know if anything looks off!