Update main.py

This commit is contained in:
Elmon11 2020-10-28 13:39:44 +01:00 committed by GitHub
parent a2452cc37a
commit a495c703c0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -26,6 +26,6 @@ if __name__ == '__main__':
bot.load_extension(extension)
print(f"[{datetime.utcnow().replace(microsecond=0)} INFO]: [Extensions] {extension} loaded successfully")
except Exception as e:
print("[{} INFO]: [Extensions] {} didn't load {}".format(datetime.utcnow().replace(microsecond=0), extension, e))
print(f"[{datetime.utcnow().replace(microsecond=0)} INFO]: [Extensions] {extension} didn't load {e}")
bot.run(botToken)