mirror of
https://github.com/TotalFreedomMC/TotalFreedomBot.git
synced 2024-12-22 23:54:58 +00:00
Update main.py
This commit is contained in:
parent
a2452cc37a
commit
a495c703c0
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
@ -26,6 +26,6 @@ if __name__ == '__main__':
|
||||||
bot.load_extension(extension)
|
bot.load_extension(extension)
|
||||||
print(f"[{datetime.utcnow().replace(microsecond=0)} INFO]: [Extensions] {extension} loaded successfully")
|
print(f"[{datetime.utcnow().replace(microsecond=0)} INFO]: [Extensions] {extension} loaded successfully")
|
||||||
except Exception as e:
|
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)
|
bot.run(botToken)
|
||||||
|
|
Loading…
Reference in a new issue