Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scheduled Locks #65

Open
Kav-K opened this issue Nov 24, 2022 · 0 comments
Open

Scheduled Locks #65

Kav-K opened this issue Nov 24, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@Kav-K
Copy link
Owner

Kav-K commented Nov 24, 2022

We want to be able to lock a channel for a specified amount of time, with the argument in AdBhCm format.

Amend the existing !lock command to take in an argument, if no argument is provided consider it as a permanent lock. Store the lock time in redis and use an existing task or a new task to poll the locked channels and determine when to unlock them.

The bot should send two messages, one message when it's locked that says how much time is remaining in the lock, and another message when the channel unlocks.

@Kav-K Kav-K added enhancement New feature or request help wanted Extra attention is needed labels Nov 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants