danparizher / Pax-Academia

General purpose utility bot for the Homework Help Discord server
MIT License
13 stars 5 forks source link

Bug: False Positive prompt is incorrectly triggered when the Format Your Code tip is run by a user #242

Closed pharmony01 closed 1 year ago

pharmony01 commented 1 year ago

Example of this occurring in python

sebastiaan-daniels commented 1 year ago

Since feedback is a development feature which is dynamically added to things we are testing, it is only present in production and not on github.

I had added the view to all tips since detect_code used to send a /tip. Since it no longer does, The view should only be present in detect code. This has been fixed in production.