monty-python
monty-python copied to clipboard
qr code generator command
Use Pil or a QR code generator library to create a QR code for a specific provided URL. Use components v2 for the reply, and default to ephemeral replies. This should be a new extension in the monty.exts.utils module named qr_codes
It should run in an executor as it's a blocking method if the library used is not already async: await loop.run_in_executor(None, ...)
Typing should pass in full on this new module.