From 6e5a8808671b7d0c03ddbd30873359c5b05411f3 Mon Sep 17 00:00:00 2001 From: fzzinchemical Date: Tue, 25 Mar 2025 21:52:28 +0100 Subject: [PATCH] Add Dockerfile and captain-definition for container setup --- dockerfile => Dockerfile | 0 captain-definition | 4 ++++ src/messages.ts | 1 + 3 files changed, 5 insertions(+) rename dockerfile => Dockerfile (100%) create mode 100644 captain-definition diff --git a/dockerfile b/Dockerfile similarity index 100% rename from dockerfile rename to Dockerfile diff --git a/captain-definition b/captain-definition new file mode 100644 index 0000000..704386e --- /dev/null +++ b/captain-definition @@ -0,0 +1,4 @@ + { + "schemaVersion": 2, + "dockerfilePath": "./Dockerfile" + } \ No newline at end of file diff --git a/src/messages.ts b/src/messages.ts index 54da5db..9a46d34 100755 --- a/src/messages.ts +++ b/src/messages.ts @@ -103,6 +103,7 @@ export async function messagehandler(bot: Bot, message: Message) { } break; // TODO Add exception for when the ollama api is down + } } function defaultString(s: string): string {