def part(phenny, input):
 if input.sender.startswith('#'):
  return
 if input.admin:
  phenny.write(['PART'], input.group(2))

def part ( phenny , input ) : if input . sender . startswith ( '#' ) : return if input . admin : phenny . write ( [ 'PART' ] , input . group ( 2 ) )
part the specified channel .