mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-05 11:39:34 +01:00
3d97dc2c33
"Applet" is a much better name for the external command-line scripts and programs that can be loaded as PBot commands. They will no longer be confused with Perl modules. https://en.wikipedia.org/wiki/Applet
11 lines
250 B
Bash
Executable File
Vendored
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
|