davidmckenzie / telebagger

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

Error 'hash' #1

Closed tomillo closed 6 years ago

tomillo commented 6 years ago

Hi! I'm trying to get it work, but console says:

Traceback (most recent call last):
  File "telebagger.py", line 96, in <module>
    min_id=0
TypeError: __init__() missing 1 required positional argument: 'hash'

Can you help me?

davidmckenzie commented 6 years ago

Ah, I fixed that in telelooper.py but not telebagger.py. The telelooper.py version is better to use in most cases though as it doesn't miss messages in supergroups. Will update readme :)

tomillo commented 6 years ago

Good job!

tomillo commented 6 years ago

One more question.. how to remove @everyone for messages?

davidmckenzie commented 6 years ago

In the config:

        "everyone":true,

Just change that to false and should be sweet

tomillo commented 6 years ago

Thanks man. Supports multi-channel relays?

davidmckenzie commented 6 years ago

Nope but you can run multiple instances fine - you'd just clone the directory and have different channel IDs in each.

tomillo commented 6 years ago

Nope but you can run multiple instances fine - you'd just clone the directory and have different channel IDs in each.

@davidmckenzie can't use more than three instances.