Skip to content

Channel add error #1

@pradeishc

Description

@pradeishc

I can't add channels instead of I came up with this error.

05:20:30 PM - 235 - pyrogram.dispatcher - dispatcher - ERROR - 'in ' requires string as left operand, not int
Traceback (most recent call last):
File "/home/ubuntu/.local/lib/python3.10/site-packages/pyrogram/dispatcher.py", line 222, in handler_worker
await handler.callback(self.client, *args)
File "/home/ubuntu/file-filter-bot-master/plugins/index.py", line 84, in send_for_index
if message.from_user.id in ADMINS:
TypeError: 'in ' requires string as left operand, not int

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions