Using os.system the script sets a shutdown time, the bot will then inform users for the impending shutdown.