Update main.py

This commit is contained in:
Elmon11 2020-10-31 03:04:55 +01:00 committed by GitHub
parent 39257ac1e0
commit 6a8e066281
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -24,8 +24,8 @@ if __name__ == '__main__':
for extension in extensions: for extension in extensions:
try: try:
bot.load_extension(extension) bot.load_extension(extension)
print(f"[{datetime.utcnow().replace(microsecond=0)} INFO]: [Extensions] {extension} loaded successfully") print(f"[{str(datetime.utcnow().replace(microsecond=0))[11:]} INFO]: [Extensions] {extension} loaded successfully")
except Exception as e: except Exception as e:
print(f"[{datetime.utcnow().replace(microsecond=0)} INFO]: [Extensions] {extension} didn't load {e}") print(f"[{str(datetime.utcnow().replace(microsecond=0))[11:]} INFO]: [Extensions] {extension} didn't load {e}")
bot.run(botToken) bot.run(botToken)