old_contents: import time
  
  class Plugin:
      def __call__(self, bot):
          bot.on_respond(r"ping$", lambda bot, msg, reply: reply("PONG"))
          bot.on_respond(r"echo (.*)$", lambda bot, msg, reply: reply(msg["match"][0]))
          bot.on_respond(r"time$", lambda bot, msg, reply: reply(time.time()))
          bot.on_help("debug", self.on_help)
  
      def on_help(self, bot, msg, reply):
          reply("Syntax: ping | echo <msg> | time")
  
new_contents: import time
  
  class Plugin:
      def __call__(self, bot):
          bot.on_respond(r"ping$", lambda bot, msg, reply: reply("PONG"))
          bot.on_respond(r"(?:echo|say) (.*)$", lambda bot, msg, reply: reply(msg["match"][0]))
          bot.on_respond(r"time$", lambda bot, msg, reply: reply(time.time()))
          bot.on_help("debug", self.on_help)
  
      def on_help(self, bot, msg, reply):
          reply("Syntax: ping | echo <msg> | time")
  
subject: Add say alias to echo