quote-bot/main.sh

9 lines
127 B
Bash
Raw Normal View History

2026-01-30 11:48:07 +01:00
#!/bin/sh
#if json quote list exist
2026-01-30 12:37:03 +01:00
if [ -f "./quotes.txt" ]; then
shuf -n 1 ./quotes.txt
2026-01-30 11:48:07 +01:00
else
echo "file does not exist!"
fi