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

Error when atting user without @ #3

Open
eryalito opened this issue Jan 21, 2025 · 0 comments
Open

Error when atting user without @ #3

eryalito opened this issue Jan 21, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@eryalito
Copy link
Owner

Traceback (most recent call last):
File "/usr/lib/python3.12/site-packages/telegram/ext/_application.py", line 1335, in process_update
await coroutine
File "/usr/lib/python3.12/site-packages/telegram/ext/_handlers/basehandler.py", line 157, in handle_update
return await self.callback(update, context)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/handlers/user/all.py", line 25, in run
users_str += '@' + user['username'] + ' '
~~~~^~~~~~~~~~~~~~~~~~
TypeError: can only concatenate str (not "NoneType") to str

@eryalito eryalito added the bug Something isn't working label Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant