MusicBot icon indicating copy to clipboard operation
MusicBot copied to clipboard

[Feature Request] Allow other bots to queue up songs

Open SeaCheek opened this issue 3 years ago • 1 comments

Is your feature request related to a problem? Please describe.

I currently have a different custom-created locally-run bot which has a speech-to-text feature built in. I wanted to add a feature to my other bot to allow requesting songs using voice. When my bot sends a message, like '!p take on me', JMusicBot does not do anything with it.

I am assuming that JMusicBot automatically cancels any commands from other bots, which makes sense from a security standpoint.

What is your ideal solution to the problem?

Considering the security issues associated with allowing other bots' messages to be read, I would consider adding a whitelist into the config. This whitelist would consist of bot IDs that the bot is allowed to read messages from. That way, it can only be done on a case-by-case basis.

How would this feature be used?

  1. Open JMusicBot's config file
  2. Go to line with config property 'botWhitelist'
  3. Add in comma-separated list of bot IDs
  4. Save config
  5. Restart bot

Additional Info

I am hoping that this isn't actually a misuse from my side and that this bot should normally be able to read other bots' messages.

Checklist

SeaCheek avatar Jun 29 '22 13:06 SeaCheek

As far as I am aware, bots invoking other bots is technically against the TOS.

MichailiK avatar Jul 13 '22 08:07 MichailiK