botgram / shell-bot

:robot: Telegram bot that executes commands and sends the live output
GNU General Public License v3.0
797 stars 488 forks source link

Disable some run commands #36

Open hackgence opened 4 years ago

hackgence commented 4 years ago

is there any possibility of disabling specific run commands ?

for example, I don't want to run /run rm xyz.txt

how can we achieve that ?

mildsunrise commented 3 years ago

no, there's no functionality for whitelisting / blacklisting commands. you'll have to modify the code yourself for now