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
39257ac1e0
commit
6a8e066281
1 changed files with 2 additions and 2 deletions
4
main.py
4
main.py
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue