1
0
Fork 0
forked from swee/MeowNex

Update sweebot.py

This commit is contained in:
Nova Cat 2024-12-28 18:33:55 -08:00
parent eb8e8e4aed
commit 7578acff90

View file

@ -471,8 +471,7 @@ while True:
ossystem("git fetch")
ossystem("git pull")
irc.send_irc(channel, nick + ": Pulled from Git, restarting bot...")
sleep(1)
ossystem("sudo systemctl restart sweebot")
restart()
else:
irc.send_irc(channel, nick + ": Permission denied.")
block+=1