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

Allow /ban telegram-id #407

Closed
grunch opened this issue Jul 25, 2023 · 5 comments
Closed

Allow /ban telegram-id #407

grunch opened this issue Jul 25, 2023 · 5 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@grunch
Copy link
Member

grunch commented Jul 25, 2023

/ban command works with the username, but we should allow to use the telegram id as parameter

@grunch grunch added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers labels Jul 25, 2023
@UsmanAR
Copy link
Contributor

UsmanAR commented Aug 5, 2023

Hello @grunch, can I start working on this? If yes , can you please point me out the file ?

@grunch
Copy link
Member Author

grunch commented Aug 5, 2023

Hello @grunch, can I start working on this? If yes , can you please point me out the file ?

yes 😀

https://github.com/lnp2pBot/bot/blob/main/bot/start.js#L503

@UsmanAR
Copy link
Contributor

UsmanAR commented Aug 8, 2023

@grunch So the /ban command should work with both the username and telegram id right? Or just the telegram id?

@grunch
Copy link
Member Author

grunch commented Aug 8, 2023

@grunch So the /ban command should work with both the username and telegram id right? Or just the telegram id?

both

@grunch
Copy link
Member Author

grunch commented Aug 10, 2023

closing it via #417

@grunch grunch closed this as completed Aug 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants