def log_leave ( event , nick , channel ) : if channel not in pmxbot . config . log_channels : return ParticipantLogger . store . log ( nick , channel , event . type )
how to make a log in python discord
Log a quit or part event .
def log_leave(event, nick, channel):
	"""
	Log a quit or part event.
	"""
	if channel not in pmxbot.config.log_channels:
		return
	ParticipantLogger.store.log(nick, channel, event.type)