aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorterminaldweller <devi@terminaldweller.com>2024-01-28 22:21:25 +0000
committerterminaldweller <devi@terminaldweller.com>2024-01-28 22:21:25 +0000
commit5a606659a310f9d93e4d57b697bbb320103e659c (patch)
tree80612428e7b6d697a2958703a8172c8828238aba
parentchanged inline code type to toml for the exampleconfig (diff)
downloadmilla-5a606659a310f9d93e4d57b697bbb320103e659c.tar.gz
milla-5a606659a310f9d93e4d57b697bbb320103e659c.zip
added an image
-rw-r--r--README.md3
-rw-r--r--main.go2
-rw-r--r--milla.pngbin0 -> 451797 bytes
3 files changed, 3 insertions, 2 deletions
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.<br/>
+![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
--- /dev/null
+++ b/milla.png
Binary files differ