This is a slightly entertaining if silly program, but I would hesitate to call it a routine. The point of a routine is to be useful as part of many possible larger programs. A good example is shading circles - this is fairly pointless by itself, but might be useful in a larger program; furthermore, virtually any type of program could require shading circles. This routine, on the other hand, is self-contained but would probably not be useful in a larger program, except for a larger chatbot program.
This applies to several other routines as well, in my opinion.