CSSUoB / CSSUoB/TeX-Bot-Py-V2

Improve welcome message cooldown criteria

Open
#311 3 comments 0 reactions 0 assignees View on GitHub
good first issue
Dominant language
Python
Stars
1
Forks
11
Avg merge
20h 7m
Merged PRs (30d)
2

Description

Currently a welcome message will not be sent after induction if there has been a previous welcome message sent within the past 7 messages of the channel. This prevents frequent spam of welcome messages.

I suggest that the cooldown condition also includes a time based criteria. That is that the welcome message should be allowed to be sent if the previous condition was not met, but it has been greater than a certain amount of cooldown time. So a new welcome message can be sent right after a previous welcome message, so long as enough time has passed since the first welcome message was sent.

Thoughts on whether to include this change would be appreciated.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.