mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-07 23:09:26 +00:00
50_SSChatBot: contrib 1.0.0
git-svn-id: https://svn.fhem.de/fhem/trunk@20629 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
104c5f0c10
commit
5adb78f268
@ -338,6 +338,7 @@ sub SSChatBot_Set($@) {
|
||||
}
|
||||
|
||||
return "Your sendstring is incorrect. It must contain at least text with the \"text\" tag like 'text=\"...\"\nor only some text like \"this is a test\" '." if(!$text);
|
||||
|
||||
Log3($name, 5, "$name - Add sendItem to queue: ".$text);
|
||||
|
||||
$users = AttrVal($name,"defaultPeer", "") if(!$users);
|
||||
@ -1293,7 +1294,7 @@ sub SSChatBot_substText ($) {
|
||||
|
||||
$txt =~ s/["']/´/g;
|
||||
$txt =~ s/H/h/g; # Bug im Chat wenn vor großem H ein Zeichen + Leerzeichen vorangeht
|
||||
|
||||
|
||||
return ($txt);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user