Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save JonnyFunFun/84c9626f0f50f1c3ee84570e3b5d7bd7 to your computer and use it in GitHub Desktop.
Save JonnyFunFun/84c9626f0f50f1c3ee84570e3b5d7bd7 to your computer and use it in GitHub Desktop.
if __name__ == '__main__':
try:
client.run('token')
except KeyboardInterrupt:
print('Interrupted')
finally:
client.close()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment