From 5cb68fc2084680794af750478fbeff561195d50c Mon Sep 17 00:00:00 2001 From: Joey Hines Date: Fri, 10 Aug 2018 18:06:42 -0500 Subject: [PATCH] Added except to bot.run to catch errors at closing --- Geoffrey.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Geoffrey.py b/Geoffrey.py index 79990d0..3ce8f5a 100644 --- a/Geoffrey.py +++ b/Geoffrey.py @@ -108,6 +108,8 @@ if __name__ == '__main__': bot.run(bot_config.token) except TimeoutError: print("Disconnected, is Discord offline?") + except: + print("Bye")