From 5a606659a310f9d93e4d57b697bbb320103e659c Mon Sep 17 00:00:00 2001 From: terminaldweller Date: Sun, 28 Jan 2024 17:21:25 -0500 Subject: added an image --- README.md | 3 ++- main.go | 2 +- milla.png | Bin 0 -> 451797 bytes 3 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 milla.png diff --git a/README.md b/README.md index 89da0d4..a6b8b17 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # milla -Milla is an IRC bot that sends things over to ollama when you ask her questions. +Milla is an IRC bot that sends things over to ollama when you ask her questions, prints the answer with synta-hilighting.
+![milla](./milla.png) ### Config diff --git a/main.go b/main.go index 9d09932..c8c8a89 100644 --- a/main.go +++ b/main.go @@ -140,7 +140,7 @@ func runIRC(appConfig TomlConfig, ircChan chan *girc.Client) { } fmt.Println(writer.String()) - client.Cmd.ReplyTo(event, girc.Fmt(writer.String())) + client.Cmd.ReplyTo(event, girc.Fmt("\033[0m"+writer.String())) // client.Cmd.ReplyTo(event, girc.Fmt(ollamaResponse.Response)) } }) diff --git a/milla.png b/milla.png new file mode 100644 index 0000000..f489c92 Binary files /dev/null and b/milla.png differ -- cgit v1.2.3