From ccd75217e96f8a18e4bebda61fa72ba16c0ebce9 Mon Sep 17 00:00:00 2001 From: Diogo Castro Date: Fri, 1 Sep 2023 17:49:55 +0100 Subject: [PATCH] Added `botConfig.feedbackChannel` to the tzbot config --- servers/tejat-prior/default.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/servers/tejat-prior/default.nix b/servers/tejat-prior/default.nix index 7877f1b..8f27fde 100644 --- a/servers/tejat-prior/default.nix +++ b/servers/tejat-prior/default.nix @@ -80,6 +80,16 @@ with lib; services.tzbot = { enable = true; package = "${profile-root}/tzbot"; + botConfig = { + maxRetries = 3; + cacheUsersInfo = "3m"; + cacheConversationMembers = "3m"; + feedbackChannel = "C05QQKHU5KN"; # Channel ID for `#tzbot-feedback` + feedbackFile = "/var/lib/tzbot/feedback.log"; + cacheReportDialog = "1h"; + inverseHelpUsageChance = 15; + logLevel = "Info"; + }; slackAppToken = "$SLACK_APP_TOKEN"; slackBotToken = "$SLACK_BOT_TOKEN"; };