Skip to content

Channel warning and closure messages should be templated #163

@ahalasz

Description

@ahalasz

Hi,

I changed the archive_threshold to 37 in the configuration.yaml. Afterwards I rebuilt the destalinator Docker image, run it and entered the container. In the container I run the warner.py, which send a message to the concerned channels in the Slack.

The message in #general was:

Hey, heads up -- the following channels are stale and will be archived if no one participates in them over the next 30 days

The message in the concerned channels ended with

.If we don't hear from anyone in the next 30 days, this channel will be archived.

I was expecting to see 7 days instead of 30 days in those messages.

Extract of the con figuration.yaml:

# Days of silence before we warn a channel it's going to be archived
warn_threshold: 30

# Days of silence before we auto-archive a channels
archive_threshold: 37

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions