aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaria Lisina <sekoohaka.sarisan@gmail.com>2026-02-07 15:25:00 +0300
committerMaria Lisina <sekoohaka.sarisan@gmail.com>2026-02-07 15:25:07 +0300
commitc2e9d5e43492d6136cae2acd469e44d3553b95e7 (patch)
tree5302d51977a22ac688c105984cd4463c4cb0282c
parentfaeee8067b29c903c7e69c30ee06ca2ca620fa0a (diff)
files/help: Add SauceNAO topic
Signed-off-by: Maria Lisina <sekoohaka.sarisan@gmail.com>
-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>