Skip to content
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

2 requests in one ask: Multiple servers support. Multiple command characters support. #232

Open
DrToxic opened this issue Jan 3, 2023 · 7 comments

Comments

@DrToxic
Copy link

DrToxic commented Jan 3, 2023

Is your feature request related to a problem? Please describe.
Multiple Servers Support
I run bots on my discord. a friend of mine would like to use his bot on both mine and his servers, partly so I can watch and debug.

Multiple Command Characters Support
It'd be pretty dope to see all bots respond at the same time to trivial commands, like !Status, however it would be irritating to, for example, start all printers printing the same file.

So have each printer reacting to it's own command character (like it is now), but also assign a second character for trivial commands, such as /Status.

Describe alternatives you've considered
Running multiple plugin instances, setting up multiple bots per printer.

Additional context
image

@cameroncros
Copy link
Owner

cameroncros commented Jan 4, 2023

Would being able to DM commands to the bots be sufficient? Its probably the easiest solution that doesnt involve a very convoluted configuration?

I'll look into the ability to DM the bots.

Multiple server support was being worked on, but the person who was looking at it gave up. I can try revive their effort, but realistically, I dont have much time to spend on this project, so its unlikely to be completed.

@cameroncros
Copy link
Owner

See v3.11, allows DM'ing the bot directly. With that, you can have your bots on the same channel, and send commands to all bots, or use DM for individual commands. I will think about the multiple channels thing, but I cant promise any kind of prompt fix for that

@DrToxic
Copy link
Author

DrToxic commented Jan 4, 2023 via email

@DrToxic
Copy link
Author

DrToxic commented Jan 8, 2023

See v3.11, allows DM'ing the bot directly. With that, you can have your bots on the same channel, and send commands to all bots, or use DM for individual commands.

Amazing stuff.

I will think about the multiple channels thing, but I cant promise any kind of prompt fix for that

I will take a look at the source and see if I can't work anything out. I just happen to be busy as heck at the moment. :(

@Liftyee
Copy link

Liftyee commented Jan 21, 2023

I had made an attempt at making it work for multiple channels, but it requires a bit of an overhaul to only send some responses to one channel (otherwise there are out of context responses in other channels), or to show who ran what command where in the response. I also no longer needed to have it run in multiple channels, though I could try and continue working on this feature if people want it.

@anmart
Copy link

anmart commented Apr 2, 2023

Would it be possible to have the command responses go to the person that DM'd it or would that require adding extra channel IDs? I DM'd my bot the snapshot command and it posted an image to the main channel it's present in

@cameroncros
Copy link
Owner

cameroncros commented Apr 3, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants