def startup_message(self):
if self.__startup_message:
timestamps = get_time_as_str(datetime.utcnow())
args = {"status": "{}- PokeAlarm activated!" .format(timestamps[2])}
try_sending(log, self.connect, "Twitter", self.send_tweet, args)
log.info("Startup tweet sent!")
# Set the appropriate settings for each alert
评论列表
文章目录