3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-02 18:19:33 +01:00
pbot/modules/excuse.sh
2021-07-10 15:00:22 -07:00

11 lines
250 B
Bash
Executable File
Vendored

#!/bin/bash
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
# SPDX-License-Identifier: MIT
#host=bofh.jeffballard.us
#port=666
#grep excuse < /dev/tcp/$host/$port | sed 's/Your excuse is: //'
sort -R excuses.txt | head -n 1