markokajzer / discord-soundbot

A Soundboard Bot for Discord
MIT License
191 stars 69 forks source link

[Feature Request] Specify channel(s) for bot to monitor #54

Open prenetic opened 4 years ago

prenetic commented 4 years ago

It would be great if you could specify in config.json the server ID(s) and channel ID(s) for the bot to monitor to keep larger servers clean.

If a command is issued in an unmonitored channel, the bot should directly message the requester informing them to use one of the monitored channels on that server (providing a list of channel hotlinks).

If a command is issued in a monitored channel, then behave as normal.

zopz commented 4 years ago

@markokajzer I'd be down to grab this if you haven't implemented it already

markokajzer commented 4 years ago

I did not. Feel free! Your help is much appreciated 🙏

zopz commented 4 years ago

@markokajzer would you be able to add me as a contributor so that I can push up a branch? Or would you prefer me to fork it?

markokajzer commented 4 years ago

Forking is the way to go here :)

prenetic commented 4 years ago

I thought I had included this in the original feature request but it looks like I forgot.

Since the bot can already remove messages, perhaps it would also make sense for the bot to remove any of the errant commands being sent to an unmonitored channel, since this was largely in the spirit of keeping channels clean.

markokajzer commented 4 years ago

Could you create a separate issue for this feature request? Will help keeping track of everything. :)

I thought this was about something else. Definitely a valid request!

prenetic commented 4 years ago

Sure thing, thanks.

zopz commented 4 years ago

I should be able to knock out both requests :)

zopz commented 4 years ago

Sorry if I'm just missing it - is there any kind of channel helper like userFinder? As far as I can tell voice channels are ID only

markokajzer commented 4 years ago

I don't think there is. You can create whatever you want if it is necessary. Feel free to reach out to me on the Discord for implementation specific and basically all other questions :D