Skip to content

Commit

Permalink
Merge pull request #89 from serokell/diogo/tzbot
Browse files Browse the repository at this point in the history
Added `botConfig.feedbackChannel` to the tzbot config
  • Loading branch information
Sereja313 authored Sep 1, 2023
2 parents e897814 + ccd7521 commit 2270f3d
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions servers/tejat-prior/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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";
};
Expand Down

0 comments on commit 2270f3d

Please sign in to comment.