-
Notifications
You must be signed in to change notification settings - Fork 0
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
Only remove users instead ban: give a chance #9
Conversation
Codecov Report
@@ Coverage Diff @@
## master #9 +/- ##
==========================================
+ Coverage 94.08% 94.15% +0.06%
==========================================
Files 1 1
Lines 169 171 +2
==========================================
+ Hits 159 161 +2
Misses 10 10
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
@@ -166,7 +172,7 @@ func kickTroll(bot TrollShieldBot, update *telegram.Update, user telegram.User, | |||
} else { | |||
username := getUserName(user) | |||
text := fmt.Sprintf( | |||
"%v foi banido porque é membro do grupo: %v. Adeus.", | |||
"%v foi removido porque é membro do grupo: %v. Para mais informações, acione o nosso SAC 24h: @skhaz.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
O SAC foi uma adição maravilhosa |
Make lelerax more merciful: a kicked person can now try again. This make sense since we have a /pass option. After giving the pass, it can try again without bothering about unban the user anymore. This is the default behavior.
c268d66
to
228ec11
Compare
Maybe that was not a good idea. |
Maybe we'll need to revert that change. |
Revert "Merge pull request #9 from commonlispbr/feature/remove-not-ban"
Make lelerax more merciful: a kicked person can now try again.
This make sense since we have a /pass option. After giving the pass,
the user can try again without bothering about unban the user anymore.
This now will be the default behavior.