monty-python
monty-python copied to clipboard
minor internal-eval fixes
There are a few issues within the new eval command before it can be deployed.
- [x] sys.ps1 is not defined. Darn typecheckers.
- [ ] Files in components v2 are never previewed in the client. They should be.
- [x] ANSI processing by Discord sometimes conks out.
- [x] include tracebacks in errors
To fix the first one, it should be turned into a constant at the top of the file >>> without a trailing space.
For the second one, this requires particular design.
We cannot provide files and components v2 at the same time.