Khaaz / Cross-Server-Bot

Cross-Server bot - Link discord channels between them across servers.
MIT License
34 stars 15 forks source link

Multiple linked sets of channels #5

Open coffeebank opened 5 years ago

coffeebank commented 5 years ago

Hello, just want to say your bot is working great so far with syncing multiple channels together!

However, I was wondering, is there a way to link multiple sets of channels? For example:

Server1: #fortnite Server2: #fortnite Server3: #fortnite

Server1: #minecraft Server2: #minecraft Server3: #minecraft

I'm not sure the .json file accepts multiple "guilds":{ } fields, and was wondering if there was a built in way I missed or if I'd need to run multiple instances of the bot to do that.

Khaaz commented 4 years ago

Hello, You are right and there are currently no way to have multiple channels network on the same bot instance. This could be added, but the original purpose of this bot was really to be a standalone application for one network of channels. This in order to prevent a too huge amount of traffic + too many request to discord on the same bot instance.

You are just fine running a second instance of the bot if you want atm.

Now we can still argue about whereas it's a good idea to add this feature or not. I'm not closed to this possibility!

coffeebank commented 4 years ago

Thank you for the reply! It would be cool to see, though if it's too much work, you can probably get away with just listing a tutorial on how to run duplicate instances and still call it a feature. I think the folders are only 27MB, and I'm currently doing it by ( cd [channelname] ; npm start ) & [repeat first chunk for each instance]

Khaaz commented 4 years ago

Updating on this as well. Since this bot seems to get more success than i thought, this could come in a v2. This is no where soon though, but it could be something I would envisage. As adding more features clutter the script in the current design, this bot could use a rewrite. We coud definitely make this a working bot to serve multiple channel network.

Znunu commented 3 years ago

@coffeebank https://top.gg/bot/683004822202351927

coffeebank commented 3 years ago

Thanks, will check out 👀