Comments (10)
Yes, you just need to put your group/chat ID into the config:
allowed_users:
- id: -123456789
from yt-dlp-bot.
I tried that, The Bot never reads it or responds. (I even gave it admin on the channel so it had full access)
from yt-dlp-bot.
I see, I will look into that
from yt-dlp-bot.
Thank you! I am here if you would like any more information!
from yt-dlp-bot.
I've just updated bot to the version 1.3. It should work now as I've written before.
Please test.
from yt-dlp-bot.
I'm getting this error
yt_bot | 2023-03-28 01:13:15,321 - [ERROR] - [pyrogram.dispatcher:253] - 'NoneType' object has no attribute 'id'
yt_bot | Traceback (most recent call last):
yt_bot | File "/usr/local/lib/python3.11/site-packages/pyrogram/dispatcher.py", line 240, in handler_worker
yt_bot | await handler.callback(self.client, *args)
yt_bot | File "/app/bot/core/callbacks.py", line 33, in on_message
yt_bot | urls = self._parse_urls(message)
yt_bot | ^^^^^^^^^^^^^^^^^^^^^^^^^
yt_bot | File "/app/bot/core/callbacks.py", line 67, in _parse_urls
yt_bot | return [
yt_bot | ^
yt_bot | File "/app/bot/core/callbacks.py", line 72, in <listcomp>
yt_bot | from_user_id=message.from_user.id,
yt_bot | ^^^^^^^^^^^^^^^^^^^^
yt_bot | AttributeError: 'NoneType' object has no attribute 'id'
I have rebuilt Base and Main images.
from yt-dlp-bot.
Worked out why! I had my account set to Anonymous!
Working now... thank you!
One thing you might want to do is put a filter for only URL's in groups though or maybe have to have a prefix as it responds to all messages (erroring)
from yt-dlp-bot.
One thing you might want to do is put a filter for only URL's in groups though or maybe have to have a prefix as it responds to all messages (erroring)
Added that in a new release 1.4: Details in https://github.com/tropicoo/yt-dlp-bot/blob/main/RELEASES.md
from yt-dlp-bot.
Excellent. Seems to be working. Thank you! 🙏
from yt-dlp-bot.
Cool!
from yt-dlp-bot.
Related Issues (20)
- Download aborts and error causes lost Data HOT 10
- could add "image" option to the "download_media_type" parameter?
- Another bot in same server
- [TIKTOK] Requested format is not available. Use --list-formats for a list of available formats
- Is it possbile to use without docker ? HOT 1
- Build base image error HOT 2
- Sanitize Title
- How to rebuild? HOT 2
- Why is there no build context for base-image? HOT 2
- How to start bot HOT 1
- can't running the bot HOT 2
- how to run only api without bot HOT 4
- Error building docker image HOT 1
- Why pyrogram? HOT 2
- download youtube shows "Unknow command" HOT 2
- Waiting to be reachable HOT 2
- yt-dlp is only downloading the first video from the playlist HOT 1
- How to add %(upload_date)s %(channel)s to the video description? HOT 1
- Unable to Fetch
- ERROR: No matching distribution found for tgcrypto-pyrofork
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yt-dlp-bot.