if ! command -v "gallery-dl" &> /dev/null; then echo 'The "gallery-dl" command is necessary in order to run the script, but was not found.' exit 1 fi gallery-dl -o conversations=1 --filter "author['name']==locals().get('reply_to')" $1