async def quit(self, message=None):
        """ Quit network. """
        if message is None:
            message = self.DEFAULT_QUIT_MESSAGE

        await self.rawmsg('QUIT', message)
        await self.disconnect(expected=True)
async def quit ( self , message = None ) : if message is None : message = self . DEFAULT_QUIT_MESSAGE await self . rawmsg ( 'QUIT' , message ) await self . disconnect ( expected = True )
Quit network.