https://github.com/sadrasabouri/asc11ar7_bot
ASCII Art Telegram Bot
https://github.com/sadrasabouri/asc11ar7_bot
Last synced: 3 months ago
JSON representation
ASCII Art Telegram Bot
- Host: GitHub
- URL: https://github.com/sadrasabouri/asc11ar7_bot
- Owner: sadrasabouri
- Created: 2024-07-08T00:20:12.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-11-15T04:38:09.000Z (7 months ago)
- Last Synced: 2025-02-10T07:42:46.820Z (4 months ago)
- Language: Python
- Size: 25.4 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Overview
Here is a mermaid diagram for how the bot works:```mermaid
%% Documentation: https://mermaid-js.github.io/mermaid/#/flowchart
flowchart TD
START((("/start"))):::entryPoint -->|"{help()}"| IDLE((IDLE)):::state
IDLE --> FONT("/font [f]"):::userInput
FONT -->|"data['font']: f"| IDLEIDLE --> DECORATION("/decoration [d]"):::userInput
DECORATION -->|"data['decoration']: d"| IDLEIDLE --> SPACE("/space [s]"):::userInput
SPACE -->|"data['space']: s"| IDLEIDLE --> ART("/aprint"):::userInput
ART --> ARTGEN(("Art Generation")):::state
ARTGEN --> BACK("/back"):::userInput
ARTGEN --> ARTGEN_X("(art_name)"):::userInput
ARTGEN_X --> |"aprint(art_name,decoration=d,space=s)"|ARTGENIDLE --> TPRINT("/tprint"):::userInput
TPRINT --> TPRINTGEN(("Text Print Generation")):::state
TPRINTGEN --> BACK("/back"):::userInput
TPRINTGEN --> TPRINTGEN1_X("(text)"):::userInput
TPRINTGEN1_X --> |"tprint(text,font=f,decoration=d,space=s)"|TPRINTGENBACK --> IDLE
IDLE --> ALLARTS("/showall_arts"):::userInput
ALLARTS --> IDLEIDLE --> ALLFONTS("/showall_fonts"):::userInput
ALLFONTS --> IDLEclassDef 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
```