<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def privmsg_many(self, targets, text):
 """Send a PRIVMSG command to multiple targets."""

        target = ','.join(targets)
        return self.privmsg(target, text)