discordpy get on bot disconnet code example Example: logout in discord.py Client.logout() --------or---------- Client.save()