aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbot.zsh2
-rw-r--r--files/help.txt.default13
2 files changed, 14 insertions, 1 deletions
diff --git a/bot.zsh b/bot.zsh
index 885bace..d3d517d 100755
--- a/bot.zsh
+++ b/bot.zsh
@@ -718,7 +718,7 @@ file_content="$(sed "s/{version_placeholder}/${version}/" "${file}")"
if [[ -n "${nocommand_source}" ]]
then
- file_content="$(sed -e '/^\[snkey\].*$/d' -e '/^\/source.*$/d' <<< "${file_content}")"
+ file_content="$(sed -e '/^\[snkey\].*$/d' -e '/^\/source.*$/d' -e '/^source::.*$/d' <<< "${file_content}")"
fi
help_line_counter=1
diff --git a/files/help.txt.default b/files/help.txt.default
index 66d3b5a..389e4cf 100644
--- a/files/help.txt.default
+++ b/files/help.txt.default
@@ -134,6 +134,19 @@ List of currently supported booru-like Image Boards
<<<<<<<<
+source::SauceNAO
+>>>>>>>>
+<b>SauceNAO</b>
+Reverse search image
+
+Authorize to SauceNAO with your own API key
+<code>/source [snkey]</code>
+
+To reverse search image just use this command in reply to any image
+<code>/source</code>
+<<<<<<<<
+
+
shorts::Shortcuts
>>>>>>>>
<b>Shortcuts</b>