From 1b2f0f36277706d2820c29faf196eaf688081109 Mon Sep 17 00:00:00 2001 From: Karthika Warrier <125868689+karthu0301@users.noreply.github.com> Date: Mon, 6 Jan 2025 23:53:39 +0800 Subject: [PATCH 1/2] Create .env --- .env | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .env diff --git a/.env b/.env new file mode 100644 index 0000000..b25351f --- /dev/null +++ b/.env @@ -0,0 +1,12 @@ +BOT_TOKEN=7670858344:AAEh4Oq0GDs66E5u1wEg5AGDfk1Gs4P6940 +RESET_DB=(boolean: wipes data regarding the queue bot if needed - 'true' during testing to clear junk data, 'false' otherwise.) +BASE_ADMIN_ACCOUNT=(place the person that is to be the first admin of the bot. If your handle is @abc, type abc without the @.) + +# Postgres access details +## named to allow remote deployment override +# see https://github.com/docker-library/docs/blob/master/postgres/README.md#environment-variables +POSTGRES_USER=postgres +POSTGRES_DB=postgres +POSTGRES_PASSWORD=postgres +PGHOST=localhost +PGPORT=5432 From 289c52eabeb4647b4e24b162f1873396be19ea2f Mon Sep 17 00:00:00 2001 From: Karthika Warrier <125868689+karthu0301@users.noreply.github.com> Date: Tue, 7 Jan 2025 00:12:06 +0800 Subject: [PATCH 2/2] updated invalid commands message --- internal/botaccess/settings.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/botaccess/settings.go b/internal/botaccess/settings.go index a1cb220..cd5119d 100644 --- a/internal/botaccess/settings.go +++ b/internal/botaccess/settings.go @@ -54,7 +54,7 @@ const ( nonCommandFeedback string = "Please input a command which starts with '/', like /start" - invalidCommandFeedback string = "Sorry, I don't recognize your command :(" + invalidCommandFeedback string = "Sorry, I don't recognize your command :( Would you like to send another command?" joinQueueAlreadyJoined string = "You have already joined this queue!" joinQueueSuccess string = "Joined the queue. (Check the queue with /howlong.)"