bug fix
This commit is contained in:
parent
5e02a881fb
commit
6ba003c036
1 changed files with 5 additions and 1 deletions
|
|
@ -16,7 +16,11 @@ class Slack extends Command {
|
|||
var sender = SlackSender(data.token);
|
||||
DataSlack? message = null;
|
||||
if(data.property != null) {
|
||||
message = replaceSingleTag(data.property!) as DataSlack;
|
||||
var value = replaceSingleTag(data.property!);
|
||||
if(value != null)
|
||||
{
|
||||
message = value as DataSlack;
|
||||
}
|
||||
} else if(data.message != null) {
|
||||
message = data.message;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue