Open parmjotsinghrobot opened 3 months ago
No the point of the examples is you can look at examples and use that to inform you of how the code works, and you can run them yourself by downloading/updating or copy pasting the code
I disagree.
I agree there should be some way to access documentation and examples from the bot though
Some way to run the examples as part of that could work
If you implement this as a PR I will probably merge - as long as they can see the code being run. Probably don't want infinite loop examples easily able to be run though
Probably don't want infinite loop examples easily able to be run though
How would this be implemented? Some kind of admin block, so that only exempt users can run them, or just a block list that shows that they exist but don't run them?
i'd probably just have a block list that pretends they dont exist
It would be nice, otherwise there's no point having them. If no arguments are given, then just list all example files with a description. This means that if you do complete this, all examples would have to have some documentation written on them.