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

Rules approval for new users #43

Merged
merged 3 commits into from
Oct 3, 2020

Conversation

noplanman
Copy link
Member

@noplanman noplanman commented Jul 10, 2020

The rules need to be approved (in a private bot chat) to get the permissions necessary for posting in the group.

At the moment, a simple click on an "I Agree" button is all that is needed.

todo:

  • Kick user after a defined expiry period.
  • We'll test it like this, and if need be because of excess spam users, create a more complex activation.

Initial rules message, showing the "I Agree" button

rules


After clicking "I Agree", an alert is displayed and the button now links to the group.

ok-alert
ok-button

Closes #19

@noplanman noplanman changed the title WIP Rules approval for new users Rules approval for new users Oct 3, 2020
@noplanman noplanman merged commit 46855c0 into php-telegram-bot:develop Oct 3, 2020
@noplanman noplanman deleted the 19-rule_approval branch October 3, 2020 22:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant