how to exit discord py script gracefully code example Example: logout in discord.py Client.logout() --------or---------- Client.save()