Skip to content

Commit

Permalink
Added botConfig.feedbackChannel to the tzbot config
Browse files Browse the repository at this point in the history
  • Loading branch information
dcastro committed Sep 1, 2023
1 parent e897814 commit ccd7521
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 ccd7521

Please sign in to comment.