File: conversationbot.mmd

package info (click to toggle)
python-telegram-bot 22.3-1
  • links: PTS
  • area: main
  • in suites: sid
  • size: 11,060 kB
  • sloc: python: 90,298; makefile: 176; sh: 4
file content (21 lines) | stat: -rw-r--r-- 1,109 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
flowchart TB
    %% Documentation: https://mermaid-js.github.io/mermaid/#/flowchart
    A(("/start")):::entryPoint -->|Hi! My name is Professor Bot...| B((GENDER)):::state
    B --> |"- Boy <br /> - Girl <br /> - Other"|C("(choice)"):::userInput 
    C --> |I see! Please send me a photo...| D((PHOTO)):::state
    D --> E("/skip"):::userInput
    D --> F("(photo)"):::userInput
    E --> |I bet you look great!| G[\ /]:::userInput
    F --> |Gorgeous!| G[\ /]
    G --> |"Now, send me your location .."| H((LOCATION)):::state
    H --> I("/skip"):::userInput
    H --> J("(location)"):::userInput
    I --> |You seem a bit paranoid!| K[\" "/]:::userInput
    J --> |Maybe I can visit...| K
    K --> |"Tell me about yourself..."| L(("BIO")):::state
    L --> M("(text)"):::userInput
    M --> |"Thanks and bye!"| End(("END")):::termination
    classDef userInput  fill:#2a5279, color:#ffffff, stroke:#ffffff
    classDef state fill:#222222, color:#ffffff, stroke:#ffffff
    classDef entryPoint fill:#009c11, stroke:#42FF57, color:#ffffff
    classDef termination fill:#bb0007, stroke:#E60109, color:#ffffff