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

only chat with 1 client pls fix this #4

Open
wahyu25ridwan opened this issue Aug 15, 2022 · 1 comment
Open

only chat with 1 client pls fix this #4

wahyu25ridwan opened this issue Aug 15, 2022 · 1 comment

Comments

@wahyu25ridwan
Copy link

only chat with 1 client pls fix this

@PixHive
Copy link

PixHive commented Nov 19, 2022

await handler.callback(self.client, *args)
File "/home/ubuntu/YukkiChatBot/main.py", line 67, in mode_func
await mongo.group_off()
File "/home/ubuntu/YukkiChatBot/mongo.py", line 101, in group_off
return await modelist.delete_one({"chat_id": chat_id})
AttributeError: 'dict' object has no attribute 'delete_one'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants