davidmckenzie / telebagger

Simple Telegram to Discord one-way relay service
The Unlicense
30 stars 14 forks source link

Request invoked too often #3

Open Jonesyj83 opened 6 years ago

Jonesyj83 commented 6 years ago

Just tried the updated version and I'm getting.

06-13 01:52 telethon.telegram_bare_client INFO Invoking ['GetHistoryRequest(peer=InputPeerChannel(channel_id=1111111, access_hash=-11111111), offset_id=0, offset_date=None, add_offset=0, limit=50, max_id=0, min_id=31, hash=0)'] failed 1 times, connecting again and retrying 06-13 01:52 telethon.telegram_bare_client INFO Reconnection aborted: already connected 06-13 01:52 telethon.telegram_bare_client WARNING Request invoked too often, wait 23s Have changed, channel_id and Access_hash. Seems to only do it on this updated one.

tomillo commented 6 years ago

Maybe you just tried many consecutive times? Or trying have multiple telebagger instances working at same time?

Jonesyj83 commented 6 years ago

Hmm yeah could be multiple instances. Is there a way to run multiple instances without being invoked?

On Wed, 13 Jun. 2018, 8:08 am tomillo, notifications@github.com wrote:

Maybe you just tried many consecutive times? Or trying have multiple telebagger instances working at same time?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/davidmckenzie/telebagger/issues/3#issuecomment-396772854, or mute the thread https://github.com/notifications/unsubscribe-auth/AOjtC3vBUHdAvtLwZ9lvyxm6_2ZWDzP2ks5t8FgWgaJpZM4UlU29 .

tomillo commented 6 years ago

I just tried one every 10 minutes

Jonesyj83 commented 6 years ago

Would there be a way to have multiple channelids and webhooks in the one bot? So config file have "Channels": { "Channelid1":"webhook1", "Channelid2":"webhook2", "Channelid3":"webhook3", "Channelid4":"webhook4", "Channelid5":"webhook5"

Something like that?

tomillo commented 6 years ago

I would also like that function to be developed by @davidmckenzie 🤓