Help with D1 mini and alexa

I sorry if this question has been asked before. I have seen projects for automated blinds which use Alexa commands “open”, “close”, “up” and “down”. Does anyone have the code for a wemos D1 mini to respond to these commands rather than “on” or “off”

thanks in advance