Dougley / MegaBot

Discord bot that interacts with Zendesk Community
GNU Affero General Public License v3.0
1 stars 0 forks source link

Do not nuke official comments #116

Closed MoonlightCapital closed 5 years ago

MoonlightCapital commented 5 years ago

Security

Please check the following boxes

Describe your pull request

[10:01 PM] Blastoise186: Just imagine what chaos would happen though, if someone accidentally ran !nuke against Dan or Dabbit
[10:02 PM] Blastoise186: I would hope that the command will refuse to purge official comments
[10:03 PM] Blastoise186: If not, would you mind doing a quick PR as a safety measure?
[10:03 PM] Blastoise186: Yeah, might want that safety measure then

[10:08 PM] Blastoise186: I just think that adding a safety check to avoid nuking Official Comments is probably worth doing
[10:08 PM] Blastoise186: Or even anything that appears to have been posted by the team
[10:09 PM] Blastoise186: I'd do both, because of Dabbit

So yes, at least save precious data from being nuked accitentally.