Member leave logging¶
Member leave logging is a feature introduced in v2.11 that logs whenever a member leaves the server and when the last time they joined was.
How it works¶
listeners/member_leave.py listens to the on_member_remove event of the Discord API. When triggered, EnduraBot logs the member's departure and when their last join date was. An embed is then sent to to the channel defined by the invite_alert_channel_id argument of data/variables.json with the same information.