teamyukki / yukkichatbot Goto Github PK
View Code? Open in Web Editor NEWPowerful Telegram Chat Bot written in Pyrogram. Useful for Feedbacks , Anonymous Identity, Support Groups. Works Similarly like Livegram Bot
License: MIT License
Powerful Telegram Chat Bot written in Pyrogram. Useful for Feedbacks , Anonymous Identity, Support Groups. Works Similarly like Livegram Bot
License: MIT License
only chat with 1 client pls fix this
2022-12-11T14:44:36.656 runner[2c26dd1d] gru [info] Unpacking image
2022-12-11T14:44:39.411 runner[2c26dd1d] gru [info] Preparing kernel init
2022-12-11T14:44:39.730 runner[2c26dd1d] gru [info] Configuring firecracker
2022-12-11T14:44:39.876 runner[2c26dd1d] gru [info] Starting virtual machine
2022-12-11T14:44:40.075 app[2c26dd1d] gru [info] Starting init (commit: f447594)...
2022-12-11T14:44:40.091 app[2c26dd1d] gru [info] Preparing to run: /cnb/process/worker
as heroku
2022-12-11T14:44:40.126 app[2c26dd1d] gru [info] 2022/12/11 14:44:40 listening on [fdaa:0:fff0:a7b:72:2c26:dd1d:2]:22 (DNS: [fdaa::3]:53)
2022-12-11T14:44:47.996 app[2c26dd1d] gru [info] [LOG] - Yukki Chat Bot Started
2022-12-11T14:44:51.248 app[f93d855d] gru [info] user is not allowed to do action [find] on [ChatBot.block], full error: {'ok': 0, 'errmsg': 'user is not allowed to do action [find] on [ChatBot.block]', 'code': 8000, 'codeName': 'AtlasError'}
2022-12-11T14:44:51.248 app[f93d855d] gru [info] Traceback (most recent call last):
2022-12-11T14:44:51.248 app[f93d855d] gru [info] File "/app/.heroku/python/lib/python3.10/site-packages/pyrogram/dispatcher.py", line 222, in handler_worker
2022-12-11T14:44:51.248 app[f93d855d] gru [info] await handler.callback(self.client, *args)
2022-12-11T14:44:51.248 app[f93d855d] gru [info] File "/workspace/main.py", line 43, in start_command
2022-12-11T14:44:51.248 app[f93d855d] gru [info] if await mongo.is_banned_user(message.from_user.id):
2022-12-11T14:44:51.248 app[f93d855d] gru [info] File "/workspace/mongo.py", line 59, in is_banned_user
2022-12-11T14:44:51.248 app[f93d855d] gru [info] user = await blockeddb.find_one({"user_id": user_id})
2022-12-11T14:44:51.248 app[f93d855d] gru [info] File "/app/.heroku/python/lib/python3.10/concurrent/futures/thread.py", line 58, in run
2022-12-11T14:44:51.248 app[f93d855d] gru [info] result = self.fn(*self.args, **self.kwargs)
2022-12-11T14:44:51.248 app[f93d855d] gru [info] File "/app/.heroku/python/lib/python3.10/site-packages/pymongo/collection.py", line 1459, in find_one
2022-12-11T14:44:51.248 app[f93d855d] gru [info] for result in cursor.limit(-1):
2022-12-11T14:44:51.248 app[f93d855d] gru [info] File "/app/.heroku/python/lib/python3.10/site-packages/pymongo/cursor.py", line 1248, in next
2022-12-11T14:44:51.248 app[f93d855d] gru [info] if len(self.__data) or self._refresh():
2022-12-11T14:44:51.248 app[f93d855d] gru [info] File "/app/.heroku/python/lib/python3.10/site-packages/pymongo/cursor.py", line 1165, in _refresh
2022-12-11T14:44:51.248 app[f93d855d] gru [info] self.__send_message(q)
2022-12-11T14:44:51.248 app[f93d855d] gru [info] File "/app/.heroku/python/lib/python3.10/site-packages/pymongo/cursor.py", line 1052, in __send_message
2022-12-11T14:44:51.248 app[f93d855d] gru [info] response = client._run_operation(
2022-12-11T14:44:51.248 app[f93d855d] gru [info] File "/app/.heroku/python/lib/python3.10/site-packages/pymongo/_csot.py", line 105, in csot_wrapper
2022-12-11T14:44:51.248 app[f93d855d] gru [info] return func(self, *args, **kwargs)
2022-12-11T14:44:51.248 app[f93d855d] gru [info] File "/app/.heroku/python/lib/python3.10/site-packages/pymongo/mongo_client.py", line 1330, in _run_operation
2022-12-11T14:44:51.248 app[f93d855d] gru [info] return self._retryable_read(
2022-12-11T14:44:51.248 app[f93d855d] gru [info] File "/app/.heroku/python/lib/python3.10/site-packages/pymongo/_csot.py", line 105, in csot_wrapper
2022-12-11T14:44:51.248 app[f93d855d] gru [info] return func(self, *args, **kwargs)
2022-12-11T14:44:51.248 app[f93d855d] gru [info] File "/app/.heroku/python/lib/python3.10/site-packages/pymongo/mongo_client.py", line 1448, in _retryable_read
2022-12-11T14:44:51.248 app[f93d855d] gru [info] return func(session, server, sock_info, read_pref)
2022-12-11T14:44:51.248 app[f93d855d] gru [info] File "/app/.heroku/python/lib/python3.10/site-packages/pymongo/mongo_client.py", line 1326, in _cmd
2022-12-11T14:44:51.248 app[f93d855d] gru [info] return server.run_operation(
2022-12-11T14:44:51.248 app[f93d855d] gru [info] File "/app/.heroku/python/lib/python3.10/site-packages/pymongo/server.py", line 134, in run_operation
2022-12-11T14:44:51.248 app[f93d855d] gru [info] _check_command_response(first, sock_info.max_wire_version)
2022-12-11T14:44:51.248 app[f93d855d] gru [info] File "/app/.heroku/python/lib/python3.10/site-packages/pymongo/helpers.py", line 181, in _check_command_response
2022-12-11T14:44:51.248 app[f93d855d] gru [info] raise OperationFailure(errmsg, code, response, max_wire_version)
2022-12-11T14:44:51.248 app[f93d855d] gru [info] pymongo.errors.OperationFailure: user is not allowed to do action [find] on [ChatBot.block], full error: {'ok': 0, 'errmsg': 'user is not allowed to do action [find] on [ChatBot.block]', 'code': 8000, 'codeName': 'AtlasError'}
2022-12-11T14:44:51.379 app[2c26dd1d] gru [info] 'Message' object has no attribute 'from_user_id'
2022-12-11T14:44:51.379 app[2c26dd1d] gru [info] Traceback (most recent call last):
2022-12-11T14:44:51.379 app[2c26dd1d] gru [info] File "/app/.heroku/python/lib/python3.10/site-packages/pyrogram/dispatcher.py", line 222, in handler_worker
2022-12-11T14:44:51.379 app[2c26dd1d] gru [info] await handler.callback(self.client, *args)
2022-12-11T14:44:51.379 app[2c26dd1d] gru [info] File "/workspace/main.py", line 43, in start_command
2022-12-11T14:44:51.379 app[2c26dd1d] gru [info] if await mongo.is_banned_user(message.from_user_id):
2022-12-11T14:44:51.379 app[2c26dd1d] gru [info] AttributeError: 'Message' object has no attribute 'from_user_id'
2022-12-11T14:45:08.595 runner[f93d855d] gru [info] Shutting down virtual machine
2022-12-11T14:45:08.823 app[f93d855d] gru [info] Sending signal SIGINT to main child process w/ PID 520
2022-12-11T14:45:10.233 app[f93d855d] gru [info] Starting clean up.
2022-12-11T14:47:06.033 app[2c26dd1d] gru [info] 'Message' object has no attribute 'from_user_id'
2022-12-11T14:47:06.033 app[2c26dd1d] gru [info] Traceback (most recent call last):
2022-12-11T14:47:06.033 app[2c26dd1d] gru [info] File "/app/.heroku/python/lib/python3.10/site-packages/pyrogram/dispatcher.py", line 222, in handler_worker
2022-12-11T14:47:06.033 app[2c26dd1d] gru [info] await handler.callback(self.client, *args)
2022-12-11T14:47:06.033 app[2c26dd1d] gru [info] File "/workspace/main.py", line 43, in start_command
2022-12-11T14:47:06.033 app[2c26dd1d] gru [info] if await mongo.is_banned_user(message.from_user_id):
2022-12-11T14:47:06.033 app[2c26dd1d] gru [info] AttributeError: 'Message' object has no attribute 'from_user_id'
2022-12-11T14:47:10.298 app[2c26dd1d] gru [info] 'Message' object has no attribute 'from_user_id'
2022-12-11T14:47:10.298 app[2c26dd1d] gru [info] Traceback (most recent call last):
2022-12-11T14:47:10.298 app[2c26dd1d] gru [info] File "/app/.heroku/python/lib/python3.10/site-packages/pyrogram/dispatcher.py", line 222, in handler_worker
2022-12-11T14:47:10.298 app[2c26dd1d] gru [info] await handler.callback(self.client, *args)
2022-12-11T14:47:10.298 app[2c26dd1d] gru [info] File "/workspace/main.py", line 43, in start_command
2022-12-11T14:47:10.298 app[2c26dd1d] gru [info] if await mongo.is_banned_user(message.from_user_id):
2022-12-11T14:47:10.298 app[2c26dd1d] gru [info] AttributeError: 'Message' object has no attribute 'from_user_id'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.