python discord client disconnect code example Example: logout in discord.py Client.logout() --------or---------- Client.save()