Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Alexander
/
alex-hunter-sales-dev
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 8bd506c8
authored
Nov 10, 2022
by
softwhiskey8
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
добавил ноду запроса почты
1 parent
1643e7a5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
7 deletions
app/main.dsl
app/phrasemap.json
app/main.dsl
View file @
8bd506c
...
...
@@ -210,20 +210,34 @@ node mail
{
negative: do
{
set $mail_start = external time_stamp();
set $mail = #getMessageText();
set $mail_end = external time_stamp();
//var mail = "temp@mail.ru";
//set $channel_type = "почту";
//external sendTelegramChannel($phone, $channel_type, $mail);
}
positive: do
{
//отправка сразу без getmessagetext
}
}
}
node getMail
{
do
{
$cjm.push("getMail");
#say("whatmail");
wait*;
set $mail_start = external time_stamp();
set $mail = #getMessageText();
set $mail_end = external time_stamp();
}
transitions
{
yes_whatsapp: goto yes_whatsapp on true;
}
}
node dont_use
{
do
...
...
app/phrasemap.json
View file @
8bd506c
...
...
@@ -505,8 +505,12 @@
{
"text"
:
"Почта которую указывали при регистрации актуальная?"
}
],
"whatmail"
:[
{
"text"
:
"Пожалуйста продиктуйте почту, на которую я могу вам отправить промокод"
}
]
},
"types"
:
{},
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment