uml2image is discord bot to convert uml to image.
docker run -d -e TOKEN=[Your token] minami14/uml2image
Install JRE(or JDK) and Graphviz.
sudo apt install default-jre graphviz
clone this repository.
git clone https://github.com/minami14/uml2image
build uml2image.
cd uml2image
go build -o uml2image cmd/main.go
Save plantuml.jar in the same directory as the built binary.
wget -O plantuml.jar http://sourceforge.net/projects/plantuml/files/plantuml.jar/download
./uml2image [Your token]
Write uml with discord as follows
```uml
@startuml
Class01 <|-- Class02
Class03 *-- Class04
Class05 o-- Class06
Class07 .. Class08
Class09 -- Class10
@enduml
```