Skip to content

Latest commit

 

History

History
15 lines (9 loc) · 509 Bytes

File metadata and controls

15 lines (9 loc) · 509 Bytes

daad: Discord ANSI adapter

converts ANSI color escape sequences from stdin into the limited 4-bit sequences supported by discord.

selects the Discord color with the lowest Euclidian distance to the target color.

example:

git diff --color=always | discord-ansi-adapter.py | discord-message.py

image

image