#!/bin/bash # pbot will postpone delivery of this message until $DELIVERY_TS readonly DELAY_SECS=0 readonly DELIVERY_TS=$(( $(date +%s) + ${DELAY_SECS} )) readonly TARGET_CHANNEL='#parabola' readonly IPC_QUEUE_FILE=/var/lib/pbot/ipc-message-queue # ASSERT: per bot_settings.sh echo "${DELIVERY_TS} ${TARGET_CHANNEL} $*" >> ${IPC_QUEUE_FILE}