mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 23:06:37 +00:00
50_SSChatBot: contrib 1.0.1
git-svn-id: https://svn.fhem.de/fhem/trunk@20718 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
970844074a
commit
49e13eb49e
@ -349,7 +349,8 @@ sub SSChatBot_Set($@) {
|
||||
# text="a fun image" fileUrl="http://imgur.com/xxxxx" users="user1,user2"
|
||||
return undef if(!$hash->{HELPER}{USERFETCHED});
|
||||
my $cmd = join(" ", @a);
|
||||
my ($text,$users,$fileUrl);
|
||||
my ($text,$users);
|
||||
my $fileUrl = "";
|
||||
my ($a,$h) = parseParams($cmd);
|
||||
if($h) {
|
||||
$text = $h->{text} if(defined $h->{text});
|
||||
|
Loading…
x
Reference in New Issue
Block a user