MadCoderZ / NewsBotIRC

NewsBotIRC - Java IRC Bot with RSS feed reader
MIT License
3 stars 2 forks source link

Restrict the !add and !remove commands to authorized users only #4

Open gpoppino opened 7 years ago

gpoppino commented 7 years ago

At present time, the !add and !remove commands are available to any user in the channel where the bot is running. This could allow undesired feeds to be added or the ones that were originally configured to be removed against the will of the owner of the bot. Therefore, we should add an authentication command to provide a way to perform these operations to only authorized people. This could be implemented in various ways: