the_house.py 827 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. from command_system import RollbotResponse, RollbotFailure, as_plugin
  2. housetop = """\
  3. ┏┓
  4. ┃┃╱╲ In this
  5. ┃╱╱╲╲ house
  6. ╱╱╭╮╲╲ we love
  7. ▔▏┗┛▕▔ & appreciate
  8. ╱▔▔▔▔▔▔▔▔▔▔╲
  9. """
  10. stfutop = """\
  11. ┏┓
  12. ┃┃╱╲ Shut
  13. ┃╱╱╲╲ The
  14. ╱╱╭╮╲╲ Fuck
  15. ▔▏┗┛▕▔ Up
  16. ╱▔▔▔▔▔▔▔▔▔▔╲
  17. """
  18. housebot = """
  19. ╱╱┏┳┓╭╮┏┳┓ ╲╲
  20. ▔▏┗┻┛┃┃┗┻┛▕▔
  21. """
  22. @as_plugin("appreciate")
  23. def the_house(db, msg):
  24. thehouse = housetop + ' '.join(list(msg.args(normalize=False))) + housebot
  25. return RollbotResponse(msg, txt=thehouse)
  26. @as_plugin("stfu")
  27. def shut_up(db, msg):
  28. shutup = stfutop + ' '.join(list(msg.args(normalize=False))) + housebot
  29. return RollbotResponse(msg, txt=shutup)