Skip to content
This repository has been archived by the owner on Apr 9, 2021. It is now read-only.

Channel Whitelist #528

Open
Abi45x opened this issue Oct 1, 2018 · 1 comment
Open

Channel Whitelist #528

Abi45x opened this issue Oct 1, 2018 · 1 comment

Comments

@Abi45x
Copy link
Contributor

Abi45x commented Oct 1, 2018

Currently, in order for people to restrict fredboat from executing commands in certain channels, people have to use discord's permissions system in order to do so, however in FredBoat Hangout fredboat is hardcoded to only respond in specific channels, otherwise it tells the user which channels these are and deletes the message after five seconds. In essense, this suggestion involves creating a completely optional channel whitelist (using the config command to add and remove channels) for fredboat to execute commands in, if fredboat is invoked outside of a whitelisted channel, it will respond with a message telling the user to move to one of the whitelisted channels.
To acheive this, the following would be required:

  • Translations
  • Database entries
  • Editing of the ;;config command
  • Allowing bot admins to execute commands in any channel

I believe this would be best to be added to the rewrite to avoid having to convert any java code to kotlin code, I would be willing to have a go at this task myself but if anyone else wants to have a look into this first I have no problem with it

@freyacodes
Copy link
Owner

avoid having to convert any java code to kotlin code

Java code is fine, it's just that it would be incompatible if made to the old branch

@freyacodes freyacodes changed the title [Suggestion] Channel Whitelist Channel Whitelist Oct 1, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants