usergeteam / userge Goto Github PK
View Code? Open in Web Editor NEWUserge, Durable as a Serge
Home Page: https://userge.tech
License: GNU General Public License v3.0
Userge, Durable as a Serge
Home Page: https://userge.tech
License: GNU General Public License v3.0
.upload DOWNLOADS
this will upload with the "uploaded in..." message.
.upload -w DOWNLOADS
and this will no send that message.
.upload DOWNLOADS
this will upload with the "found * files. uploading now..." message.
.upload -n DOWNLOADS
and this will no send that message.
Hello UsergeTeam,
I would like to suggest some additional features for like Bool switch for Notes and Command Disable.
~Bool Switch:
In Notes.py line 46 there is a filter_me bool option, it would be better if u make a command which could switch between bool of filter_me as per user's reference.
~Commands Disable:
This is a highly recommended addition, coz there are some commands like Kek, Lol, etc which trigger automatically. Mostly they are triggered accidentally,,, can u make something like commands disable like Emilia Bot :( so that it can be enabled or disabled anytime.
•~Userge #OT Chat Reference »
•Notes Bool Switch-
•Disable Commands-
Hope You all will add these soon :)
Thank You
When hu string is generated as bot it doesn't work properly
Want to request plugin for making alias of commands.
Imo it's very useful.
Example.
.alias .paste -n | .np
Currently to paste text on nekobin we need to use
.paste -n text_here
With alias we can shorten this drastically to.
.np text_here
This is just one example to show how it's helpful.
A cool feature would be an interactive auto pm message like this one used on XtratgBot repo : https://github.com/Dark-Princ3/X-tra-Telegram
bot does not catch commands
heroku log:
2020-06-03T07:21:47.932339+00:00 app[worker.1]: Licensed under the terms of the GNU Lesser General Public License v3 or later (LGPLv3+)
2020-06-03T07:21:47.932340+00:00 app[worker.1]:
2020-06-03T07:21:48.049644+00:00 app[worker.1]: [03-Jun-20 07:21:48 - INFO] - root - NetWorkerTask started
2020-06-03T07:21:48.713697+00:00 app[worker.1]: [03-Jun-20 07:21:48 - INFO] - root - Started 4 UpdatesWorkerTasks
2020-06-03T07:21:48.714154+00:00 app[worker.1]: [03-Jun-20 07:21:48 - INFO] - root - Started 4 DownloadWorkerTasks
2020-06-03T07:21:48.714602+00:00 app[worker.1]: [03-Jun-20 07:21:48 - INFO] - root - Started 4 UpdateWorkerTasks
2020-06-03T07:21:48.721064+00:00 app[worker.1]: [03-Jun-20 07:21:48 - INFO] - userge.core.client - <<<! ##### Importing All Plugins ##### !>>>
2020-06-03T07:21:51.883912+00:00 app[worker.1]: [03-Jun-20 07:21:51 - INFO] - userge.core.client - <<<! ##### Imported (60) Plugins => ['userge.plugins.admin.gadmin', 'userge.plugins.admin.gban', 'userge.plugins.admin.locks', 'userge.plugins.fun.alive', 'userge.plugins.fun.autopic', 'userge.plugins.fun.carbon', 'userge.plugins.fun.convert', 'userge.plugins.fun.kang', 'userge.plugins.fun.memes', 'userge.plugins.fun.quote', 'userge.plugins.fun.type', 'userge.plugins.help', 'userge.plugins.misc.download', 'userge.plugins.misc.gdrive', 'userge.plugins.misc.pathlib', 'userge.plugins.misc.upload', 'userge.plugins.misc.utube', 'userge.plugins.tools.all', 'userge.plugins.tools.cancel', 'userge.plugins.tools.delete', 'userge.plugins.tools.ids', 'userge.plugins.tools.json', 'userge.plugins.tools.logs', 'userge.plugins.tools.manage', 'userge.plugins.tools.ping', 'userge.plugins.tools.repo', 'userge.plugins.tools.restart', 'userge.plugins.tools.sd', 'userge.plugins.tools.search', 'userge.plugins.tools.sleep', 'userge.plugins.tools.timeout', 'userge.plugins.tools.updater', 'userge.plugins.utils.admins', 'userge.plugins.utils.afk', 'userge.plugins.utils.covid', 'userge.plugins.utils.currency', 'userge.plugins.utils.dic', 'userge.plugins.utils.direct_links', 'userge.plugins.utils.dogbin', 'userge.plugins.utils.executor', 'userge.plugins.utils.filters', 'userge.plugins.utils.google', 'userge.plugins.utils.hash', 'userge.plugins.utils.header', 'userge.plugins.utils.notes', 'userge.plugins.utils.ocr', 'userge.plugins.utils.pmpermit', 'userge.plugins.utils.purge', 'userge.plugins.utils.removebg', 'userge.plugins.utils.speedtest', 'userge.plugins.utils.sudo', 'userge.plugins.utils.telegraph', 'userge.plugins.utils.thumbnail', 'userge.plugins.utils.translate', 'userge.plugins.utils.ud', 'userge.plugins.utils.weather', 'userge.plugins.utils.webss', 'userge.plugins.utils.welcome', 'userge.plugins.utils.whois', 'userge.plugins.utils.wikipedia'] ##### !>>>
2020-06-03T07:21:52.379250+00:00 app[worker.1]: [03-Jun-20 07:21:52 - INFO] - userge.core.client - <<<! ##### Idling Userge ##### !>>>
2020-06-03T07:23:09.399450+00:00 app[worker.1]: [03-Jun-20 07:23:09 - WARNING] - pyrogram.session.session - [5] Retrying "users.GetUsers" due to
Could there be an option added whereby one can download files from telegram or from links and gets automatically uploaded to Google drive or telegram respectively depending on the flags.
Say the new ytdl to telegram improvement with a flag -t
was very handy and I was wondering if a flag -g
for downloads module could be added such that one can automatically upload downloaded files to Google drive.
It would then be ".download -g <your reply to files in telegram>"
where -g
is the suggestion for the flag.
Or say one wants to download from links and automatically upload to telegram;
".download -t <your url>"
It's currently possible if one uses the available commands in the gdrive module but this too might greatly simply the process.
Much thanks for the great development.
Is there any command to download files to google drive specific folder.. if we use .gup the file is downloaded in default folder....
Let me explain: assume there is a folder named movies in my default drive directory... So instead of downloading files to the default directory and moving it on movies folder is there any command to do this directly?
I have 7 GB file on heroku, I want to upload this file to telegram with multiple partz (example 7z.001... or rar.001...)
exactly how to do split parts with userge?
any exec command or something?
(I tried with 7z but didn't work)
maybe a 7z split function will be ok. (with a size)
example:
.pack7z -s 1400 abc.zip
this command will split the abc.zip (example 5 gb) to 4 files:
abc.zip.001
abc.zip.002
abc.zip.003
abc.zip.004
and maybe a directory flay is useful. example:
.pack7z -s 1400 -d abcfolder abc.zip
this command will split the abc.zip (example 2 gb) to 2 files:
abcfolder/abc.zip.001
abcfolder/abc.zip.002
and maybe this py helps:
https://github.com/SpEcHiDe/PublicLeech/blob/master/tobrot/helper_funcs/split_large_files.py
thank you :)
Tried to build via heroku deployment. Gave all the required values and some non required ones too. but its crashing!
2020-05-05T06:59:49.518591+00:00 heroku[worker.1]: State changed from starting to up
2020-05-05T06:59:51.671448+00:00 app[worker.1]: [05-May-20 06:59:51 - INFO] - userge.config - Creating Download Path...
2020-05-05T06:59:51.671609+00:00 app[worker.1]: [05-May-20 06:59:51 - INFO] - userge.config - Checking Heroku App...
2020-05-05T06:59:51.820908+00:00 app[worker.1]: [05-May-20 06:59:51 - INFO] - userge.config - Heroku App : teledrivedow Found...
2020-05-05T06:59:51.821134+00:00 app[worker.1]: [05-May-20 06:59:51 - INFO] - userge.config - Cloning Heroku GIT...
2020-05-05T06:59:52.229095+00:00 app[worker.1]: [05-May-20 06:59:52 - INFO] - userge.config - Creating BIN...
2020-05-05T06:59:52.229249+00:00 app[worker.1]: [05-May-20 06:59:52 - INFO] - userge.config - Downloading BINs...
2020-05-05T06:59:52.556678+00:00 app[worker.1]: [05-May-20 06:59:52 - INFO] - userge.core._database.db - $$$>>> __Connecting to Database...__ <<<$$$
2020-05-05T07:00:22.838054+00:00 app[worker.1]: Traceback (most recent call last):
2020-05-05T07:00:22.838070+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/runpy.py", line 184, in _run_module_as_main
2020-05-05T07:00:22.838415+00:00 app[worker.1]: mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
2020-05-05T07:00:22.838434+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/runpy.py", line 143, in _get_module_details
2020-05-05T07:00:22.838674+00:00 app[worker.1]: return _get_module_details(pkg_main_name, error)
2020-05-05T07:00:22.838696+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/runpy.py", line 110, in _get_module_details
2020-05-05T07:00:22.838909+00:00 app[worker.1]: __import__(pkg_name)
2020-05-05T07:00:22.838912+00:00 app[worker.1]: File "/app/userge/__init__.py", line 13, in <module>
2020-05-05T07:00:22.839081+00:00 app[worker.1]: from userge.core import (
2020-05-05T07:00:22.839103+00:00 app[worker.1]: File "/app/userge/core/__init__.py", line 10, in <module>
2020-05-05T07:00:22.839271+00:00 app[worker.1]: from ._database import get_collection
2020-05-05T07:00:22.839287+00:00 app[worker.1]: File "/app/userge/core/_database/__init__.py", line 10, in <module>
2020-05-05T07:00:22.839441+00:00 app[worker.1]: from .db import get_collection
2020-05-05T07:00:22.839457+00:00 app[worker.1]: File "/app/userge/core/_database/db.py", line 23, in <module>
2020-05-05T07:00:22.839629+00:00 app[worker.1]: if "Userge" in MGCLIENT.list_database_names():
2020-05-05T07:00:22.839647+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/site-packages/pymongo/mongo_client.py", line 1909, in list_database_names
2020-05-05T07:00:22.840738+00:00 app[worker.1]: for doc in self.list_databases(session, nameOnly=True)]
2020-05-05T07:00:22.840763+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/site-packages/pymongo/mongo_client.py", line 1890, in list_databases
2020-05-05T07:00:22.841879+00:00 app[worker.1]: res = admin._retryable_read_command(cmd, session=session)
2020-05-05T07:00:22.841897+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/site-packages/pymongo/database.py", line 748, in _retryable_read_command
2020-05-05T07:00:22.842389+00:00 app[worker.1]: return self.__client._retryable_read(
2020-05-05T07:00:22.842414+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/site-packages/pymongo/mongo_client.py", line 1453, in _retryable_read
2020-05-05T07:00:22.843297+00:00 app[worker.1]: server = self._select_server(
2020-05-05T07:00:22.843320+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/site-packages/pymongo/mongo_client.py", line 1253, in _select_server
2020-05-05T07:00:22.844095+00:00 app[worker.1]: server = topology.select_server(server_selector)
2020-05-05T07:00:22.844112+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/site-packages/pymongo/topology.py", line 233, in select_server
2020-05-05T07:00:22.844386+00:00 app[worker.1]: return random.choice(self.select_servers(selector,
2020-05-05T07:00:22.844402+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/site-packages/pymongo/topology.py", line 192, in select_servers
2020-05-05T07:00:22.844637+00:00 app[worker.1]: server_descriptions = self._select_servers_loop(
2020-05-05T07:00:22.844660+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/site-packages/pymongo/topology.py", line 208, in _select_servers_loop
2020-05-05T07:00:22.844901+00:00 app[worker.1]: raise ServerSelectionTimeoutError(
2020-05-05T07:00:22.844976+00:00 app[worker.1]: pymongo.errors.ServerSelectionTimeoutError: connection closed,connection closed,connection closed
2020-05-05T07:00:23.307268+00:00 heroku[worker.1]: State changed from up to crashed
Hello guys,
i setup Userge as described on heroku. The Bot worked for ~30sec after that it doesn't work anymore. Any help is appreciated.
This is the output from heroku log:
2020-06-13T10:29:01.474464+00:00 heroku[worker.1]: Starting process with command bash run
2020-06-13T10:29:02.120267+00:00 heroku[worker.1]: State changed from starting to up
2020-06-13T10:29:04.370341+00:00 app[worker.1]: [13-Jun-20 10:29:04 - INFO] - userge.config - Creating Download Path...
2020-06-13T10:29:04.370513+00:00 app[worker.1]: [13-Jun-20 10:29:04 - INFO] - userge.config - Checking Heroku App...
2020-06-13T10:29:04.814888+00:00 app[worker.1]: [13-Jun-20 10:29:04 - INFO] - userge.config - Heroku App : userge-new Found...
2020-06-13T10:29:04.815209+00:00 app[worker.1]: [13-Jun-20 10:29:04 - INFO] - userge.config - Cloning Heroku GIT...
2020-06-13T10:29:05.564459+00:00 app[worker.1]: [13-Jun-20 10:29:05 - INFO] - userge.config - Creating BIN...
2020-06-13T10:29:05.564738+00:00 app[worker.1]: [13-Jun-20 10:29:05 - INFO] - userge.config - Checking BINs...
2020-06-13T10:29:05.910793+00:00 app[worker.1]: [13-Jun-20 10:29:05 - INFO] - userge.core.database - $$$>>> Connecting to Database... <<<$$$
2020-06-13T10:29:06.293865+00:00 app[worker.1]: [13-Jun-20 10:29:06 - INFO] - userge.core.database - $$$>>> Userge Database Not Found :( => Creating New Database... <<<$$$
2020-06-13T10:29:06.443200+00:00 app[worker.1]: [13-Jun-20 10:29:06 - INFO] - userge.core.client - <<<! ##### Setting Userge Configs ##### !>>>
2020-06-13T10:29:06.444969+00:00 app[worker.1]: [13-Jun-20 10:29:06 - INFO] - userge.core.client - <<<! ##### Starting Userge ##### !>>>
2020-06-13T10:29:06.813966+00:00 app[worker.1]: Pyrogram v0.17.1-async, Copyright (C) 2017-2020 Dan https://github.com/delivrance
2020-06-13T10:29:06.813978+00:00 app[worker.1]: Licensed under the terms of the GNU Lesser General Public License v3 or later (LGPLv3+)
2020-06-13T10:29:06.813979+00:00 app[worker.1]:
2020-06-13T10:29:06.926642+00:00 app[worker.1]: [13-Jun-20 10:29:06 - INFO] - root - NetWorkerTask started
2020-06-13T10:29:07.582285+00:00 app[worker.1]: [13-Jun-20 10:29:07 - INFO] - root - Started 4 UpdatesWorkerTasks
2020-06-13T10:29:07.582768+00:00 app[worker.1]: [13-Jun-20 10:29:07 - INFO] - root - Started 4 DownloadWorkerTasks
2020-06-13T10:29:07.583513+00:00 app[worker.1]: [13-Jun-20 10:29:07 - INFO] - root - Started 4 UpdateWorkerTasks
2020-06-13T10:29:07.586681+00:00 app[worker.1]: [13-Jun-20 10:29:07 - INFO] - userge.core.client - <<<! ##### Importing All Plugins ##### !>>>
2020-06-13T10:29:09.199957+00:00 app[worker.1]: [13-Jun-20 10:29:09 - INFO] - userge.core.client - <<<! ##### Imported (60) Plugins => ['userge.plugins.admin.gadmin', 'userge.plugins.admin.gban', 'userge.plugins.admin.locks', 'userge.plugins.fun.alive', 'userge.plugins.fun.autopic', 'userge.plugins.fun.carbon', 'userge.plugins.fun.convert', 'userge.plugins.fun.kang', 'userge.plugins.fun.memes', 'userge.plugins.fun.quote', 'userge.plugins.fun.type', 'userge.plugins.help', 'userge.plugins.misc.download', 'userge.plugins.misc.gdrive', 'userge.plugins.misc.pathlib', 'userge.plugins.misc.upload', 'userge.plugins.misc.utube', 'userge.plugins.tools.all', 'userge.plugins.tools.cancel', 'userge.plugins.tools.delete', 'userge.plugins.tools.ids', 'userge.plugins.tools.json', 'userge.plugins.tools.logs', 'userge.plugins.tools.manage', 'userge.plugins.tools.ping', 'userge.plugins.tools.repo', 'userge.plugins.tools.restart', 'userge.plugins.tools.sd', 'userge.plugins.tools.search', 'userge.plugins.tools.sleep', 'userge.plugins.tools.timeout', 'userge.plugins.tools.updater', 'userge.plugins.utils.admins', 'userge.plugins.utils.afk', 'userge.plugins.utils.covid', 'userge.plugins.utils.currency', 'userge.plugins.utils.dic', 'userge.plugins.utils.direct_links', 'userge.plugins.utils.dogbin', 'userge.plugins.utils.executor', 'userge.plugins.utils.filters', 'userge.plugins.utils.google', 'userge.plugins.utils.hash', 'userge.plugins.utils.header', 'userge.plugins.utils.notes', 'userge.plugins.utils.ocr', 'userge.plugins.utils.pmpermit', 'userge.plugins.utils.purge', 'userge.plugins.utils.removebg', 'userge.plugins.utils.speedtest', 'userge.plugins.utils.sudo', 'userge.plugins.utils.telegraph', 'userge.plugins.utils.thumbnail', 'userge.plugins.utils.translate', 'userge.plugins.utils.ud', 'userge.plugins.utils.weather', 'userge.plugins.utils.webss', 'userge.plugins.utils.welcome', 'userge.plugins.utils.whois', 'userge.plugins.utils.wikipedia'] ##### !>>>
2020-06-13T10:29:09.200317+00:00 app[worker.1]: [13-Jun-20 10:29:09 - INFO] - userge.core.client - <<<! ##### Idling Userge ##### !>>>
Ability to trigger filters for specific message types(media, stickers,polls,invite etc) .
Example.
.addfilter -media | media detected.
Now if anyone sends any media in group it would trigger above filter.
This is helpful to show like friendly warning. Instead of locking feature completely (like with locks plugin).
[09-Jul-20 05:20:49 - INFO] - userge.core.client - <<<! ##### Importing All Plugins ##### !>>>
2020-07-09T05:20:52.217486+00:00 app[worker.1]: Traceback (most recent call last):
2020-07-09T05:20:52.217512+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/runpy.py", line 194, in _run_module_as_main
2020-07-09T05:20:52.217771+00:00 app[worker.1]: return _run_code(code, main_globals, None,
2020-07-09T05:20:52.217776+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/runpy.py", line 87, in _run_code
2020-07-09T05:20:52.218358+00:00 app[worker.1]: exec(code, run_globals)
2020-07-09T05:20:52.218389+00:00 app[worker.1]: File "/app/userge/main.py", line 14, in
2020-07-09T05:20:52.218603+00:00 app[worker.1]: userge.begin()
2020-07-09T05:20:52.218632+00:00 app[worker.1]: File "/app/userge/core/client.py", line 175, in begin
2020-07-09T05:20:52.220078+00:00 app[worker.1]: run(self.start())
2020-07-09T05:20:52.220110+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/site-packages/nest_asyncio.py", line 59, in run_until_complete
2020-07-09T05:20:52.220389+00:00 app[worker.1]: return f.result()
2020-07-09T05:20:52.220419+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/asyncio/futures.py", line 178, in result
2020-07-09T05:20:52.221206+00:00 app[worker.1]: raise self._exception
2020-07-09T05:20:52.221243+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/asyncio/tasks.py", line 280, in __step
2020-07-09T05:20:52.221618+00:00 app[worker.1]: result = coro.send(None)
2020-07-09T05:20:52.221654+00:00 app[worker.1]: File "/app/userge/core/client.py", line 161, in start
2020-07-09T05:20:52.221945+00:00 app[worker.1]: await self._load_plugins()
2020-07-09T05:20:52.221982+00:00 app[worker.1]: File "/app/userge/core/client.py", line 84, in _load_plugins
2020-07-09T05:20:52.222258+00:00 app[worker.1]: await self.load_plugin(name)
2020-07-09T05:20:52.222290+00:00 app[worker.1]: File "/app/userge/core/client.py", line 66, in load_plugin
2020-07-09T05:20:52.231595+00:00 app[worker.1]: importlib.import_module(f"userge.plugins.{name}"))
2020-07-09T05:20:52.231631+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/importlib/init.py", line 127, in import_module
2020-07-09T05:20:52.231910+00:00 app[worker.1]: return _bootstrap._gcd_import(name[level:], package, level)
2020-07-09T05:20:52.231938+00:00 app[worker.1]: File "", line 1014, in _gcd_import
2020-07-09T05:20:52.232605+00:00 app[worker.1]: File "", line 991, in _find_and_load
2020-07-09T05:20:52.232775+00:00 app[worker.1]: File "", line 975, in _find_and_load_unlocked
2020-07-09T05:20:52.236197+00:00 app[worker.1]: File "", line 671, in _load_unlocked
2020-07-09T05:20:52.236730+00:00 app[worker.1]: File "", line 783, in exec_module
2020-07-09T05:20:52.236947+00:00 app[worker.1]: File "", line 219, in _call_with_frames_removed
2020-07-09T05:20:52.237201+00:00 app[worker.1]: File "/app/userge/plugins/unofficial/lydia.py", line 153, in
2020-07-09T05:20:52.237508+00:00 app[worker.1]: @userge.on_filters(
2020-07-09T05:20:52.237603+00:00 app[worker.1]: TypeError: on_filters() got an unexpected keyword argument 'check_client'
2020-07-09T05:20:53.171282+00:00 heroku[worker.1]: Process exited with status 1
2020-07-09T05:20:53.233572+00:00 heroku[worker.1]: State changed from up to crashed
may this link helps: https://github.com/SpEcHiDe/UniBorg/blob/master/stdplugins/deezload.py
A nice feature would be a custom block pm message command on pm guard
hello.
i use .term alot.but thw bot can only run 4 at same time.when i run the 5th .term command it doesnt respond.
pls extend the number of .term commands simultaneously.
thanks.
Wanted to suggest couple of improvements to current purge plugin.
1:- purge only in single/current chat where purge command is used. Currently purging deletes messages in other chat/groups too. Is this intended behaviour?
2:- purge x number of messags. This can be added as flag (.purge -n number_here)
as i wrote before bot may set thumbnail from file
when i try to reply a jpeg file with .sthumb it giving this message:
reply to a photo to save custom thumbnail
In short, this feature works with images but it should be for the files:
example: blabla.png (as a file. not image)
I hope I could explain. thank you for your interest :)
Not Able the Download Youtube video audio by .ytdl
.ytdl -m -t link will upload the mp3
- this has some issues.
Also youtube-dl via command line works perfectly fine .term youtube-dl -x --audio-format mp3 URL
on [dev]
2020-05-24T21:15:35.646311+00:00 app[api]: Scaled to worker@0:Free by user [email protected]
2020-05-24T21:15:35.963620+00:00 heroku[worker.1]: State changed from up to down
2020-05-24T21:15:36.912342+00:00 heroku[worker.1]: Stopping all processes with SIGTERM
2020-05-24T21:15:36.951401+00:00 app[worker.1]: [24-May-20 21:15:36 - INFO] - root - Stop signal received (15). Exiting...
2020-05-24T21:15:37.011899+00:00 heroku[worker.1]: Process exited with status 143
2020-05-24T21:15:50.549980+00:00 app[api]: Release v8 created by user [email protected]
2020-05-24T21:15:50.549980+00:00 app[api]: Set FINISHED_PROGRESS_STR config vars by user [email protected]
2020-05-24T21:16:06.994240+00:00 app[api]: Set UNFINISHED_PROGRESS_STR config vars by user [email protected]
2020-05-24T21:16:06.994240+00:00 app[api]: Release v9 created by user [email protected]
2020-05-24T21:16:11.593854+00:00 app[api]: Scaled to worker@1:Free by user [email protected]
2020-05-24T21:16:30.488608+00:00 heroku[worker.1]: Starting process with command `bash run`
2020-05-24T21:16:31.216964+00:00 heroku[worker.1]: State changed from starting to up
2020-05-24T21:16:38.110458+00:00 app[worker.1]: [24-May-20 21:16:38 - INFO] - userge.config - Creating Download Path...
2020-05-24T21:16:38.110743+00:00 app[worker.1]: [24-May-20 21:16:38 - INFO] - userge.config - Checking Heroku App...
2020-05-24T21:16:38.518467+00:00 app[worker.1]: [24-May-20 21:16:38 - INFO] - userge.config - Heroku App : anpleron21 Found...
2020-05-24T21:16:38.519125+00:00 app[worker.1]: [24-May-20 21:16:38 - INFO] - userge.config - Cloning Heroku GIT...
2020-05-24T21:16:40.751329+00:00 app[worker.1]: [24-May-20 21:16:40 - INFO] - userge.config - Creating BIN...
2020-05-24T21:16:40.751587+00:00 app[worker.1]: [24-May-20 21:16:40 - INFO] - userge.config - Checking BINs...
2020-05-24T21:16:41.687975+00:00 app[worker.1]: [24-May-20 21:16:41 - INFO] - userge.core.database - $$$>>> Connecting to Database... <<<$$$
2020-05-24T21:16:42.665314+00:00 app[worker.1]: [24-May-20 21:16:42 - INFO] - userge.core.database - $$$>>> Userge Database Found :) => Now Logging to it... <<<$$$
2020-05-24T21:16:43.130051+00:00 app[worker.1]: [24-May-20 21:16:43 - INFO] - userge.core.client - <<<! ##### Setting Userge Configs ##### !>>>
2020-05-24T21:16:43.132246+00:00 app[worker.1]: [24-May-20 21:16:43 - INFO] - userge.core.client - <<<! ##### Starting Userge ##### !>>>
2020-05-24T21:16:43.614232+00:00 app[worker.1]: Pyrogram v0.17.1-async, Copyright (C) 2017-2020 Dan <https://github.com/delivrance>
2020-05-24T21:16:43.614251+00:00 app[worker.1]: Licensed under the terms of the GNU Lesser General Public License v3 or later (LGPLv3+)
2020-05-24T21:16:43.614252+00:00 app[worker.1]:
2020-05-24T21:16:43.728596+00:00 app[worker.1]: [24-May-20 21:16:43 - INFO] - root - NetWorkerTask started
2020-05-24T21:16:44.387776+00:00 app[worker.1]: [24-May-20 21:16:44 - INFO] - userge.core.client - <<<! ##### Importing All Plugins ##### !>>>
2020-05-24T21:16:44.951159+00:00 app[worker.1]: /app/.heroku/python/lib/python3.8/site-packages/selenium/webdriver/firefox/firefox_profile.py:208: SyntaxWarning: "is" with a literal. Did you mean "=="?
2020-05-24T21:16:44.951171+00:00 app[worker.1]: if setting is None or setting is '':
2020-05-24T21:16:46.951171+00:00 app[worker.1]: /app/.heroku/python/lib/python3.8/site-packages/hachoir/parser/misc/pdf.py:395: SyntaxWarning: 'str' object is not callable; perhaps you missed a comma?
2020-05-24T21:16:46.951189+00:00 app[worker.1]: raise ParserError("Can't find '%s' starting at %u"
2020-05-24T21:16:51.976084+00:00 app[worker.1]: [24-May-20 21:16:51 - INFO] - userge.core.client - <<<! ##### Imported (59) Plugins => ['userge.plugins.admin.gadmin', 'userge.plugins.admin.gban', 'userge.plugins.admin.locks', 'userge.plugins.fun.alive', 'userge.plugins.fun.autopic', 'userge.plugins.fun.carbon', 'userge.plugins.fun.convert', 'userge.plugins.fun.kang', 'userge.plugins.fun.memes', 'userge.plugins.fun.quote', 'userge.plugins.fun.type', 'userge.plugins.help', 'userge.plugins.misc.download', 'userge.plugins.misc.gdrive', 'userge.plugins.misc.pathlib', 'userge.plugins.misc.upload', 'userge.plugins.misc.utube', 'userge.plugins.tools.all', 'userge.plugins.tools.cancel', 'userge.plugins.tools.delete', 'userge.plugins.tools.ids', 'userge.plugins.tools.json', 'userge.plugins.tools.logs', 'userge.plugins.tools.manage', 'userge.plugins.tools.ping', 'userge.plugins.tools.repo', 'userge.plugins.tools.restart', 'userge.plugins.tools.sd', 'userge.plugins.tools.search', 'userge.plugins.tools.sleep', 'userge.plugins.tools.timeout', 'userge.plugins.tools.updater', 'userge.plugins.utils.admins', 'userge.plugins.utils.afk', 'userge.plugins.utils.covid', 'userge.plugins.utils.currency', 'userge.plugins.utils.dic', 'userge.plugins.utils.direct_links', 'userge.plugins.utils.dogbin', 'userge.plugins.utils.executor', 'userge.plugins.utils.filters', 'userge.plugins.utils.google', 'userge.plugins.utils.hash', 'userge.plugins.utils.header', 'userge.plugins.utils.notes', 'userge.plugins.utils.ocr', 'userge.plugins.utils.pmpermit', 'userge.plugins.utils.purge', 'userge.plugins.utils.speedtest', 'userge.plugins.utils.sudo', 'userge.plugins.utils.telegraph', 'userge.plugins.utils.thumbnail', 'userge.plugins.utils.translate', 'userge.plugins.utils.ud', 'userge.plugins.utils.weather', 'userge.plugins.utils.webss', 'userge.plugins.utils.welcome', 'userge.plugins.utils.whois', 'userge.plugins.utils.wikipedia'] ##### !>>>
2020-05-24T21:16:51.976500+00:00 app[worker.1]: [24-May-20 21:16:51 - INFO] - root - Started 4 UpdatesWorkerTasks
2020-05-24T21:16:51.976877+00:00 app[worker.1]: [24-May-20 21:16:51 - INFO] - root - Started 4 DownloadWorkerTasks
2020-05-24T21:16:51.977254+00:00 app[worker.1]: [24-May-20 21:16:51 - INFO] - root - Started 4 UpdateWorkerTasks
2020-05-24T21:16:51.987568+00:00 app[worker.1]: [24-May-20 21:16:51 - INFO] - userge.core.client - <<<! ##### Idling Userge ##### !>>>``
The purging capability of Userge was removed. Can it be re-enabled pls?
Afk doesn't respond for private messages.
It works in basic/super groups but in private message no I'm afk right now message.
Nothing in logs too.
Can u please add the gmute function in this.
Or if it is already added tell me how to use that.
-Thanks
hmm...
in telegram, bot says: [520 Unknown error]: [-503 Timeout] (caused by "messages.SendMedia")
USERGE LOGS :
[03-Jun-20 02:25:53 - ERROR] - pyrogram.client.ext.dispatcher - [520 Unknown error]: [-503 Timeout] (caused by "messages.SendMedia")
Traceback (most recent call last):
File "/app/.heroku/python/lib/python3.8/site-packages/pyrogram/client/ext/dispatcher.py", line 204, in update_worker
await handler.callback(self.client, *args)
File "/app/userge/core/methods/decorators.py", line 159, in template
await func(Message(_, __, **kwargs))
File "/app/userge/plugins/misc/upload.py", line 177, in uploadtotg
await explorer(string, message.chat.id, flags, del_path)
File "/app/userge/plugins/misc/upload.py", line 189, in explorer
await explorer(i, chatid, flags, del_path)
File "/app/userge/plugins/misc/upload.py", line 189, in explorer
await explorer(i, chatid, flags, del_path)
File "/app/userge/plugins/misc/upload.py", line 184, in explorer
await upload(path, chatid, flags, del_path)
File "/app/userge/plugins/misc/upload.py", line 198, in upload
await doc_upload(chat_id, path, del_path)
File "/app/userge/plugins/misc/upload.py", line 223, in doc_upload
raise u_e
File "/app/userge/plugins/misc/upload.py", line 209, in doc_upload
msg = await userge.send_document(
File "/app/.heroku/python/lib/python3.8/site-packages/pyrogram/client/methods/messages/send_document.py", line 166, in send_document
r = await self.send(
File "/app/.heroku/python/lib/python3.8/site-packages/pyrogram/client/client.py", line 1419, in send
r = await self.session.send(data, retries, timeout, self.sleep_threshold)
File "/app/.heroku/python/lib/python3.8/site-packages/pyrogram/session/session.py", line 429, in send
return await self._send(data, timeout=timeout)
File "/app/.heroku/python/lib/python3.8/site-packages/pyrogram/session/session.py", line 399, in _send
RPCError.raise_it(result, type(data))
File "/app/.heroku/python/lib/python3.8/site-packages/pyrogram/errors/rpc_error.py", line 60, in raise_it
raise UnknownError(
pyrogram.errors.rpc_error.UnknownError: [520 Unknown error]: [-503 Timeout] (caused by "messages.SendMedia")
[03-Jun-20 06:42:16 - ERROR] - pyrogram.client.ext.dispatcher - [400 MESSAGE_EMPTY]: The message sent is empty (caused by "messages.EditMessage")
Traceback (most recent call last):
File "/app/.heroku/python/lib/python3.8/site-packages/pyrogram/client/ext/dispatcher.py", line 204, in update_worker
await handler.callback(self.client, *args)
File "/app/userge/core/methods/decorators.py", line 159, in template
await func(Message(_, __, **kwargs))
File "/app/userge/plugins/utils/executor.py", line 83, in exec_
await message.edit_or_send_as_file(text=output,
File "/app/userge/core/methods/message.py", line 639, in edit_or_send_as_file
return await self.edit(text=text,
File "/app/userge/core/methods/message.py", line 309, in edit
msg_ = await self._client.edit_message_text(
File "/app/.heroku/python/lib/python3.8/site-packages/pyrogram/client/methods/messages/edit_message_text.py", line 78, in edit_message_text
r = await self.send(
File "/app/.heroku/python/lib/python3.8/site-packages/pyrogram/client/client.py", line 1419, in send
r = await self.session.send(data, retries, timeout, self.sleep_threshold)
File "/app/.heroku/python/lib/python3.8/site-packages/pyrogram/session/session.py", line 429, in send
return await self._send(data, timeout=timeout)
File "/app/.heroku/python/lib/python3.8/site-packages/pyrogram/session/session.py", line 399, in _send
RPCError.raise_it(result, type(data))
File "/app/.heroku/python/lib/python3.8/site-packages/pyrogram/errors/rpc_error.py", line 79, in raise_it
raise getattr(
pyrogram.errors.exceptions.bad_request_400.MessageEmpty: [400 MESSAGE_EMPTY]: The message sent is empty (caused by "messages.EditMessage")
[03-Jun-20 06:42:27 - INFO] - root - NetWorkerTask started
I dont know what i am doing wrong but i dont get it done.
2020-05-04T23:09:22.353574+00:00 app[worker.1]: [04-May-20 23:09:22 - INFO] - userge.config - Creating Download Path...
2020-05-04T23:09:22.353825+00:00 app[worker.1]: [04-May-20 23:09:22 - INFO] - userge.config - Checking Heroku App...
2020-05-04T23:09:22.830279+00:00 app[worker.1]: [04-May-20 23:09:22 - INFO] - userge.config - Heroku App : userboteythen Found...
2020-05-04T23:09:22.834279+00:00 app[worker.1]: [04-May-20 23:09:22 - INFO] - userge.config - Cloning Heroku GIT...
2020-05-04T23:09:23.694999+00:00 app[worker.1]: [04-May-20 23:09:23 - INFO] - userge.config - Creating BIN...
2020-05-04T23:09:23.695172+00:00 app[worker.1]: [04-May-20 23:09:23 - INFO] - userge.config - Downloading BINs...
2020-05-04T23:09:24.137657+00:00 app[worker.1]: [04-May-20 23:09:24 - INFO] - userge.core._database.db - $$$>>> __Connecting to Database...__ <<<$$$
2020-05-04T23:09:24.482623+00:00 app[worker.1]: Traceback (most recent call last):
2020-05-04T23:09:24.482760+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/runpy.py", line 184, in _run_module_as_main
2020-05-04T23:09:24.483399+00:00 app[worker.1]: mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
2020-05-04T23:09:24.483428+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/runpy.py", line 143, in _get_module_details
2020-05-04T23:09:24.483742+00:00 app[worker.1]: return _get_module_details(pkg_main_name, error)
2020-05-04T23:09:24.483743+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/runpy.py", line 110, in _get_module_details
2020-05-04T23:09:24.484255+00:00 app[worker.1]: __import__(pkg_name)
2020-05-04T23:09:24.484256+00:00 app[worker.1]: File "/app/userge/__init__.py", line 13, in <module>
2020-05-04T23:09:24.484396+00:00 app[worker.1]: from userge.core import (
2020-05-04T23:09:24.484397+00:00 app[worker.1]: File "/app/userge/core/__init__.py", line 10, in <module>
2020-05-04T23:09:24.484810+00:00 app[worker.1]: from ._database import get_collection
2020-05-04T23:09:24.484811+00:00 app[worker.1]: File "/app/userge/core/_database/__init__.py", line 10, in <module>
2020-05-04T23:09:24.484948+00:00 app[worker.1]: from .db import get_collection
2020-05-04T23:09:24.485044+00:00 app[worker.1]: File "/app/userge/core/_database/db.py", line 23, in <module>
2020-05-04T23:09:24.485217+00:00 app[worker.1]: if "Userge" in MGCLIENT.list_database_names():
2020-05-04T23:09:24.485246+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/site-packages/pymongo/mongo_client.py", line 1909, in list_database_names
2020-05-04T23:09:24.486443+00:00 app[worker.1]: for doc in self.list_databases(session, nameOnly=True)]
2020-05-04T23:09:24.486472+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/site-packages/pymongo/mongo_client.py", line 1890, in list_databases
2020-05-04T23:09:24.487522+00:00 app[worker.1]: res = admin._retryable_read_command(cmd, session=session)
2020-05-04T23:09:24.487525+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/site-packages/pymongo/database.py", line 748, in _retryable_read_command
2020-05-04T23:09:24.488021+00:00 app[worker.1]: return self.__client._retryable_read(
2020-05-04T23:09:24.488026+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/site-packages/pymongo/mongo_client.py", line 1457, in _retryable_read
2020-05-04T23:09:24.489048+00:00 app[worker.1]: with self._slaveok_for_server(read_pref, server, session,
2020-05-04T23:09:24.489050+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/contextlib.py", line 113, in __enter__
2020-05-04T23:09:24.489170+00:00 app[worker.1]: return next(self.gen)
2020-05-04T23:09:24.489171+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/site-packages/pymongo/mongo_client.py", line 1282, in _slaveok_for_server
2020-05-04T23:09:24.489644+00:00 app[worker.1]: with self._get_socket(server, session, exhaust=exhaust) as sock_info:
2020-05-04T23:09:24.489649+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/contextlib.py", line 113, in __enter__
2020-05-04T23:09:24.489891+00:00 app[worker.1]: return next(self.gen)
2020-05-04T23:09:24.489892+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/site-packages/pymongo/mongo_client.py", line 1221, in _get_socket
2020-05-04T23:09:24.492339+00:00 app[worker.1]: with server.get_socket(
2020-05-04T23:09:24.492340+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/contextlib.py", line 113, in __enter__
2020-05-04T23:09:24.492539+00:00 app[worker.1]: return next(self.gen)
2020-05-04T23:09:24.492540+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/site-packages/pymongo/pool.py", line 1138, in get_socket
2020-05-04T23:09:24.493191+00:00 app[worker.1]: sock_info.check_auth(all_credentials)
2020-05-04T23:09:24.493196+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/site-packages/pymongo/pool.py", line 712, in check_auth
2020-05-04T23:09:24.493768+00:00 app[worker.1]: auth.authenticate(credentials, self)
2020-05-04T23:09:24.493795+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/site-packages/pymongo/auth.py", line 564, in authenticate
2020-05-04T23:09:24.494196+00:00 app[worker.1]: auth_func(credentials, sock_info)
2020-05-04T23:09:24.494224+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/site-packages/pymongo/auth.py", line 539, in _authenticate_default
2020-05-04T23:09:24.494723+00:00 app[worker.1]: return _authenticate_scram(credentials, sock_info, 'SCRAM-SHA-1')
2020-05-04T23:09:24.494751+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/site-packages/pymongo/auth.py", line 301, in _authenticate_scram
2020-05-04T23:09:24.495032+00:00 app[worker.1]: res = sock_info.command(source, cmd)
2020-05-04T23:09:24.495060+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/site-packages/pymongo/pool.py", line 603, in command
2020-05-04T23:09:24.495484+00:00 app[worker.1]: return command(self.sock, dbname, spec, slave_ok,
2020-05-04T23:09:24.495505+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/site-packages/pymongo/network.py", line 165, in command
2020-05-04T23:09:24.496182+00:00 app[worker.1]: helpers._check_command_response(
2020-05-04T23:09:24.496208+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/site-packages/pymongo/helpers.py", line 159, in _check_command_response
2020-05-04T23:09:24.496450+00:00 app[worker.1]: raise OperationFailure(msg % errmsg, code, response)
2020-05-04T23:09:24.496522+00:00 app[worker.1]: pymongo.errors.OperationFailure: bad auth Authentication failed.
Can u add a command to provide vid description on utube? ... It's useful.
.gmkdir <folder name>
.gsize <dir id> | <dir link>
1st comment
please make the log channel optional.
if it can be done make this fo "mongodb" too :)
thank you for awesome bot
add this feature please. bot may set thumbnail from a .jpg or .png file.
thank you :)
After updating userge to the latest version. I am not able to upload a whole folder on telegram. Please fix this issue
hi bro need a magnet and torrent file download plugin !!!!
on yandex, with no size. i think a empty file.
telegram: File size equals to 0 B
just skip this file and continue?
here is heroku log:
2020-05-28T20:42:45.751376+00:00 app[worker.1]: [28-May-20 20:42:45 - INFO] - root - Started 4 UpdatesWorkerTasks
2020-05-28T20:42:45.751779+00:00 app[worker.1]: [28-May-20 20:42:45 - INFO] - root - Started 4 DownloadWorkerTasks
2020-05-28T20:42:45.752236+00:00 app[worker.1]: [28-May-20 20:42:45 - INFO] - root - Started 4 UpdateWorkerTasks
2020-05-28T20:42:45.764514+00:00 app[worker.1]: [28-May-20 20:42:45 - INFO] - userge.core.client - <<<! ##### Idling Userge ##### !>>>
2020-05-28T20:43:02.830050+00:00 app[api]: Scaled to worker@0:Free by user [email protected]
2020-05-28T20:43:03.166797+00:00 heroku[worker.1]: State changed from up to down
2020-05-28T20:43:04.242397+00:00 heroku[worker.1]: Stopping all processes with SIGTERM
2020-05-28T20:43:04.284518+00:00 app[worker.1]: [28-May-20 20:43:04 - INFO] - root - Stop signal received (15). Exiting...
2020-05-28T20:43:04.355287+00:00 heroku[worker.1]: Process exited with status 143
2020-05-28T20:43:04.679991+00:00 app[api]: Scaled to worker@1:Free by user [email protected]
2020-05-28T20:43:18.290542+00:00 heroku[worker.1]: Starting process with command `bash run`
2020-05-28T20:43:18.896684+00:00 heroku[worker.1]: State changed from starting to up
2020-05-28T20:43:20.602894+00:00 app[worker.1]: [28-May-20 20:43:20 - INFO] - userge.config - Creating Download Path...
2020-05-28T20:43:20.603067+00:00 app[worker.1]: [28-May-20 20:43:20 - INFO] - userge.config - Checking Heroku App...
2020-05-28T20:43:20.988317+00:00 app[worker.1]: [28-May-20 20:43:20 - INFO] - userge.config - Heroku App : anpleron21 Found...
2020-05-28T20:43:20.988546+00:00 app[worker.1]: [28-May-20 20:43:20 - INFO] - userge.config - Cloning Heroku GIT...
2020-05-28T20:43:23.032905+00:00 app[worker.1]: [28-May-20 20:43:23 - INFO] - userge.config - Creating BIN...
2020-05-28T20:43:23.033080+00:00 app[worker.1]: [28-May-20 20:43:23 - INFO] - userge.config - Checking BINs...
2020-05-28T20:43:23.391900+00:00 app[worker.1]: [28-May-20 20:43:23 - INFO] - userge.core.database - $$$>>> Connecting to Database... <<<$$$
2020-05-28T20:43:24.259368+00:00 app[worker.1]: [28-May-20 20:43:24 - INFO] - userge.core.database - $$$>>> Userge Database Found :) => Now Logging to it... <<<$$$
2020-05-28T20:43:24.594598+00:00 app[worker.1]: [28-May-20 20:43:24 - INFO] - userge.core.client - <<<! ##### Setting Userge Configs ##### !>>>
2020-05-28T20:43:24.596281+00:00 app[worker.1]: [28-May-20 20:43:24 - INFO] - userge.core.client - <<<! ##### Starting Userge ##### !>>>
2020-05-28T20:43:24.883306+00:00 app[worker.1]: Pyrogram v0.17.1-async, Copyright (C) 2017-2020 Dan <https://github.com/delivrance>
2020-05-28T20:43:24.883319+00:00 app[worker.1]: Licensed under the terms of the GNU Lesser General Public License v3 or later (LGPLv3+)
2020-05-28T20:43:24.883320+00:00 app[worker.1]:
2020-05-28T20:43:25.000170+00:00 app[worker.1]: [28-May-20 20:43:24 - INFO] - root - NetWorkerTask started
2020-05-28T20:43:25.896860+00:00 app[worker.1]: [28-May-20 20:43:25 - INFO] - userge.core.client - <<<! ##### Importing All Plugins ##### !>>>
2020-05-28T20:43:28.878756+00:00 app[worker.1]: [28-May-20 20:43:28 - INFO] - userge.core.client - <<<! ##### Imported (60) Plugins => ['userge.plugins.admin.gadmin', 'userge.plugins.admin.gban', 'userge.plugins.admin.locks', 'userge.plugins.fun.alive', 'userge.plugins.fun.autopic', 'userge.plugins.fun.carbon', 'userge.plugins.fun.convert', 'userge.plugins.fun.kang', 'userge.plugins.fun.memes', 'userge.plugins.fun.quote', 'userge.plugins.fun.type', 'userge.plugins.help', 'userge.plugins.misc.download', 'userge.plugins.misc.gdrive', 'userge.plugins.misc.pathlib', 'userge.plugins.misc.upload', 'userge.plugins.misc.utube', 'userge.plugins.tools.all', 'userge.plugins.tools.cancel', 'userge.plugins.tools.delete', 'userge.plugins.tools.ids', 'userge.plugins.tools.json', 'userge.plugins.tools.logs', 'userge.plugins.tools.manage', 'userge.plugins.tools.ping', 'userge.plugins.tools.repo', 'userge.plugins.tools.restart', 'userge.plugins.tools.sd', 'userge.plugins.tools.search', 'userge.plugins.tools.sleep', 'userge.plugins.tools.timeout', 'userge.plugins.tools.updater', 'userge.plugins.utils.admins', 'userge.plugins.utils.afk', 'userge.plugins.utils.covid', 'userge.plugins.utils.currency', 'userge.plugins.utils.dic', 'userge.plugins.utils.direct_links', 'userge.plugins.utils.dogbin', 'userge.plugins.utils.executor', 'userge.plugins.utils.filters', 'userge.plugins.utils.google', 'userge.plugins.utils.hash', 'userge.plugins.utils.header', 'userge.plugins.utils.notes', 'userge.plugins.utils.ocr', 'userge.plugins.utils.pmpermit', 'userge.plugins.utils.purge', 'userge.plugins.utils.removebg', 'userge.plugins.utils.speedtest', 'userge.plugins.utils.sudo', 'userge.plugins.utils.telegraph', 'userge.plugins.utils.thumbnail', 'userge.plugins.utils.translate', 'userge.plugins.utils.ud', 'userge.plugins.utils.weather', 'userge.plugins.utils.webss', 'userge.plugins.utils.welcome', 'userge.plugins.utils.whois', 'userge.plugins.utils.wikipedia'] ##### !>>>
2020-05-28T20:43:28.879037+00:00 app[worker.1]: [28-May-20 20:43:28 - INFO] - root - Started 4 UpdatesWorkerTasks
2020-05-28T20:43:28.879264+00:00 app[worker.1]: [28-May-20 20:43:28 - INFO] - root - Started 4 DownloadWorkerTasks
2020-05-28T20:43:28.879489+00:00 app[worker.1]: [28-May-20 20:43:28 - INFO] - root - Started 4 UpdateWorkerTasks
2020-05-28T20:43:28.885060+00:00 app[worker.1]: [28-May-20 20:43:28 - INFO] - userge.core.client - <<<! ##### Idling Userge ##### !>>>
2020-05-28T21:27:49.221574+00:00 app[worker.1]: [28-May-20 21:27:49 - INFO] - root - NetWorkerTask started
2020-05-28T21:27:50.271044+00:00 app[worker.1]: [28-May-20 21:27:50 - INFO] - root - NetWorkerTask started
2020-05-28T21:27:51.349329+00:00 app[worker.1]: [28-May-20 21:27:51 - INFO] - root - NetWorkerTask started
2020-05-28T21:27:52.449874+00:00 app[worker.1]: [28-May-20 21:27:52 - INFO] - root - NetWorkerTask started
2020-05-28T21:27:53.459854+00:00 app[worker.1]: [28-May-20 21:27:53 - WARNING] - pyrogram.session.session - [5] Retrying "messages.EditMessage" due to
2020-05-28T21:27:53.460099+00:00 app[worker.1]: [28-May-20 21:27:53 - WARNING] - pyrogram.session.session - [5] Retrying "channels.GetMessages" due to
2020-05-28T21:27:53.576900+00:00 app[worker.1]: [28-May-20 21:27:53 - INFO] - root - NetWorkerTask started
2020-05-28T21:27:54.761598+00:00 app[worker.1]: [28-May-20 21:27:54 - INFO] - root - NetWorkerTask started
2020-05-28T21:27:54.771437+00:00 app[worker.1]: [28-May-20 21:27:54 - ERROR] - pyrogram.client.ext.dispatcher -
2020-05-28T21:27:54.771438+00:00 app[worker.1]: Traceback (most recent call last):
2020-05-28T21:27:54.771439+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/site-packages/pyrogram/client/ext/dispatcher.py", line 179, in update_worker
2020-05-28T21:27:54.771439+00:00 app[worker.1]: await parser(update, users, chats)
2020-05-28T21:27:54.771440+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/site-packages/pyrogram/client/ext/dispatcher.py", line 77, in message_parser
2020-05-28T21:27:54.771440+00:00 app[worker.1]: return await pyrogram.Message._parse(
2020-05-28T21:27:54.771443+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/site-packages/pyrogram/client/types/messages_and_media/message.py", line 663, in _parse
2020-05-28T21:27:54.771443+00:00 app[worker.1]: parsed_message.reply_to_message = await client.get_messages(
2020-05-28T21:27:54.771444+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/site-packages/pyrogram/client/methods/messages/get_messages.py", line 115, in get_messages
2020-05-28T21:27:54.771444+00:00 app[worker.1]: r = await self.send(rpc)
2020-05-28T21:27:54.771445+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/site-packages/pyrogram/client/client.py", line 1419, in send
2020-05-28T21:27:54.771445+00:00 app[worker.1]: r = await self.session.send(data, retries, timeout, self.sleep_threshold)
2020-05-28T21:27:54.771446+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/site-packages/pyrogram/session/session.py", line 449, in send
2020-05-28T21:27:54.771446+00:00 app[worker.1]: return await self.send(data, retries - 1, timeout)
2020-05-28T21:27:54.771447+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/site-packages/pyrogram/session/session.py", line 449, in send
2020-05-28T21:27:54.771447+00:00 app[worker.1]: return await self.send(data, retries - 1, timeout)
2020-05-28T21:27:54.771447+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/site-packages/pyrogram/session/session.py", line 449, in send
2020-05-28T21:27:54.771448+00:00 app[worker.1]: return await self.send(data, retries - 1, timeout)
2020-05-28T21:27:54.771448+00:00 app[worker.1]: [Previous line repeated 2 more times]
2020-05-28T21:27:54.771449+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/site-packages/pyrogram/session/session.py", line 440, in send
2020-05-28T21:27:54.771449+00:00 app[worker.1]: raise e from None
2020-05-28T21:27:54.771449+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/site-packages/pyrogram/session/session.py", line 427, in send
2020-05-28T21:27:54.771450+00:00 app[worker.1]: return await self._send(data, timeout=timeout)
2020-05-28T21:27:54.771450+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/site-packages/pyrogram/session/session.py", line 381, in _send
2020-05-28T21:27:54.771451+00:00 app[worker.1]: raise e
2020-05-28T21:27:54.771451+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/site-packages/pyrogram/session/session.py", line 378, in _send
2020-05-28T21:27:54.771452+00:00 app[worker.1]: await self.connection.send(payload)
2020-05-28T21:27:54.771452+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/site-packages/pyrogram/connection/connection.py", line 80, in send
2020-05-28T21:27:54.771452+00:00 app[worker.1]: raise OSError
2020-05-28T21:27:54.771453+00:00 app[worker.1]: OSError
2020-05-28T21:27:54.840842+00:00 app[worker.1]: [28-May-20 21:27:54 - WARNING] - pyrogram.session.session - [5] Retrying "channels.GetMessages" due to
2020-05-28T21:27:55.557255+00:00 app[worker.1]: [28-May-20 21:27:55 - INFO] - root - NetWorkerTask started
2020-05-28T21:27:56.262299+00:00 app[worker.1]: [28-May-20 21:27:56 - INFO] - root - NetWorkerTask started
2020-05-28T21:27:56.864497+00:00 app[worker.1]: [28-May-20 21:27:56 - INFO] - root - NetWorkerTask started
2020-05-28T21:33:08.107617+00:00 app[worker.1]: [28-May-20 21:33:08 - INFO] - root - NetWorkerTask started
2020-05-28T21:41:19.808768+00:00 app[worker.1]: [28-May-20 21:41:19 - INFO] - root - NetWorkerTask started
Plz add news top headlines and country wise news
at .exec command, we can unzip files. example:
.exec unzip lolo.zip -d lodir
and i think, this should work with rar and 7z files. example:
.exec 7za e weloveuserge.7z
.exec unrar lolo.zip -d lodir
simply, we want to use 7z, rar, unrar, unzip, un7z features.
thank you for this awesome userbot :)
Add Rename features in gdrive module wherever it's possible
.term .exec failes to parse bash operators.
Example
ls /nonexistent/location || echo "can't find it"
Expected result.
How userge term handles this.
root:~# ls /nonexistent/location || echo "can't find it"
ls: cannot access '/nonexistent/location': No such file or directory
ls: cannot access '||': No such file or directory
ls: cannot access 'echo': No such file or directory
ls: cannot access "can't find it": No such file or directory
Not only this many other useful chained operators like
&
&&
;
|
dosent work either. Also basic cd
command doesn't work too.
.term cd downloads
Outputs
ERROR: [Errno 2] No such file or directory: 'cd'
YouTube search command
Add a plugin for reverse image search
adding aria2 support for download plugin will
Be super cool
bcz. Now I'm not able to download files from
Afh links or So many like seedr.cc links
I get this error when deploying
Add video trim & conversion support, if possible use : https://github.com/cloudconvert/cloudconvert-python/blob/master/README.md
Isn't it cool of u add some api's to short link through userbot...
Example:
.shorturl [url]
may you like this idea ;) https://github.com/arc298/instagram-scraper
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.