diff --git a/modules/say/say.sh b/modules/say/say.sh index 41a52f5..3ce5eb8 100755 --- a/modules/say/say.sh +++ b/modules/say/say.sh @@ -7,9 +7,6 @@ userName="$1" channelName="$2" shift 2 -# Debug logging -echo "DEBUG say.sh: userName='$userName' channelName='$channelName' args='$*'" >> "$log" - # Check if there are any arguments if [[ -z "$*" ]]; then msg "$channelName" "$userName: Please provide a message to say." @@ -27,7 +24,6 @@ if [[ "$channelName" == "$userName" ]]; then # PM context: check if first argument is a channel name # Extract just the first word (bot.sh passes all remaining args as a single string) firstWord="${1%% *}" - echo "DEBUG say.sh: PM context detected, firstWord='$firstWord', allArgs='$*'" >> "$log" # Note: bot.sh strips "# " (hash-space) from commands, but "#channel" stays intact # Remove # prefix if present for comparison