From 2ee8c9456a302a255ebcba55c1a12668b2be1ed6 Mon Sep 17 00:00:00 2001 From: "Kay Marquardt (Gnadelwartz)" Date: Mon, 28 Dec 2020 15:11:28 +0100 Subject: [PATCH] MISSING mycommands --- commands.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands.sh b/commands.sh index bb7fc5f..4b3356c 100644 --- a/commands.sh +++ b/commands.sh @@ -15,7 +15,7 @@ # This file is public domain in the USA and all free countries. # Elsewhere, consider it to be WTFPLv2. (wtfpl.net/txt/copying) # -#### $$VERSION$$ v1.20-0-g2ab00a2 +#### $$VERSION$$ v1.21-dev-23-g1a0b51d # # adjust your language setting here, e.g. when run from other user or cron. @@ -114,7 +114,7 @@ if [ -z "${1}" ] || [[ "${1}" == *"debug"* ]];then ;; '/start'*) send_action "${CHAT[ID]}" "typing" - MYCOMMANDS="*Note*: No _mycommands.sh_ detected, copy _mycommands.dist_ or _mycommands.clean_." + MYCOMMANDS="*Note*: MISSING mycommands.sh: copy _mycommands.dist_ or _mycommands.clean_." [ -r "${BASHBOT_ETC:-.}/mycommands.sh" ] && MYCOMMANDS="Place your commands and messages in _mycommands.sh_" user_is_botadmin "${USER[ID]}" &&\ send_markdownv2_message "${CHAT[ID]}" "You are *BOTADMIN*.\n${MYCOMMANDS}"