New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Telegram Topics <-> Discord Channel Bridging #372
Comments
This can be achieved easily. Telegram Group < - - - > Discord Server To summarize up: the only thing will change - that you will be able to map telegram topics not only to threads but also to channels. |
That's what's meant by them, yep. |
I've checked. |
I wonder if |
than, maybe just |
Sure, you can manually enter IDs of threads every single time and restart the bot, but that is infeasible to do, even if you knew when a new one was created on whichever side you're not actively chatting on. A good implementation would just create a thread on the other side. If it can't do that and can't create new chats either, then it could PM the chat IDs or route everything to the main chat with replies. |
That's not what what I mean.
|
I don't mind. Choose any. |
I think it's possible. I will look at it. |
The question is how the impact would be if we change it now. I'd like to go with |
I propose just to change readme. |
Oh yeah. That's a way. Perfect. |
So, I just tried to configure this on my own instance, but heads up that topics bridging doesn't appear to work at all - regardless of whether they're channels or threads on the Discord side. With the |
If there's any logging or information I can provide that may be of help, please let me know. (cc @Lulalaby) |
Hmm we have it in use with threads and had no issues at all. |
This is what we're using:
Are there any special permissions that the bot needs on either side to allow it to work with threads, perhaps? |
Well that might be the source of the problem then. I found what I thought was it by right clicking and copying the message link from Telegram. (The /threadinfo command for Tedicross doesn't generate any response from the bot.) |
Ah, I see. The thread ID is that large because it's spawned from the ID of the message where the topic was created, and we were turning them on for an old group with tons of messages. That does appear to be the legitimate thread ID though. |
Make sure the commands are actually registered and the bot has the right perms |
What do you mean by commands are registered? How do I register them? |
The bot registers them. Just check the logs on startup lol. Make sure you have the last version. The commands are no text commands anymore. They became normal telegram bot commands |
Entirety of the log:
Tried making it an administrator on both Discord and Telegram but yeah, |
wtf |
Uhh... 😁 |
Did that work for you? I'm testing out the thread functions on 0.12.3 and also getting everything dumped into the the channel set in channel set in ChannelID.
I've also tried added this to the threadmap list to see if I needed to explicitly send stuff from general but no dice.
|
Try changing param name to threadMap |
So, automatic creation of Topics is almost ready. Additional questions:
|
New config option: topicBridgesAutoCreate
here's what I tested
currently when I send a message in any room on telegram it goes to the discord room when there should only be topic _1, but when I send a message on discord it goes to topic _1 as intended. and when I write a message on any chat room on discord the bot sends me back the following message "This is an instance of a TediCross bot, bridging a chat in Telegram with one in Discord. If you wish to use TediCross yourself, please download and create an instance. See https://github.com/TediCross/TediCross" when it shouldn't be how do I get all my Discord rooms to be linked to their respective topics on Telegram only! thanks |
Currently, it seems the new Telegram Topics bridging feature only works by bridging them to a Discord Thread, I understand this use case, even with the volatility of threads on the discord side, but I'd like it if you could bridge a Topic to a whole Channel instead, making it so a single Telegram Group can have parity with a single Discord Server, rather than needing one Telegram Group per Channel.
Such that
Telegram Group < - - - > Discord Server
Topic 1 < - - - > Channel 1
Topic 2 < - - -> Channel 2
etc etc etc
In such a way that messages in Topic 1 only bridge with Channel 1, and so on.
The text was updated successfully, but these errors were encountered: