engineer-man / piston-bot

I Run Code bot on Discord
https://emkc.org/run
MIT License
239 stars 35 forks source link

feat: Add button component to send output in file format #61

Closed TheShubhendra closed 2 years ago

brtwrst commented 2 years ago

After some deliberation we have decided that this is beyond the scope of the bot. Just resending the output in a text file has no real benefit, it was proposed once before and at that time would have been implemented via a reaction but ultimately we decided that this is not right for the bot. The buttons also rely on a unofficial 3rd party library that would have to be checked. And adding a big button to each message that can then only be used by the author is also not ideal, I'd like to keep the bot's responses as clean and simple as possible.

The bot is for running small snippets to explain syntax or show off a language feature and the focus is on the input, not the output. If you need the output and it needs to be run by piston, then there are other piston interfaces that may be better suited like the piston cli or pyston (https://github.com/engineer-man/piston#official-extensions)