new_contents: class Plugin:
      def __call__(self, bot):
          bot.on_respond(r"sudo(?: )?(.*)$", self.on_respond)
  
      def on_respond(self, bot, msg, reply):
          if msg["match"][0]:
              reply("Alright, I'll " + msg["match"][0] + ".")
          else:
              reply("Alright, I'll do whatever it is you want.")
  
subject: Add sudo plugin