steps39 / dtgbot

Telegram Bot for Domoticz
19 stars 18 forks source link

new download function #4

Closed pietrondo closed 7 years ago

pietrondo commented 8 years ago

Hi, I'm new on dtgbot.. I would add new function to the bot. I need to download "thing" (curl or wget) using the bot integrated with domoticz. I think I need to add a new "module" in lua folder. The problem now is to create a "new function" that tells: download a link in a specific folder of raspberry (where domoticz is installed). Someone could help me?

thx

jvanderzande commented 7 years ago

Should be just a matter of copying one of the existing scripts in the bash or lua subdirectories and adapting it to your needs. I am closing this issue and come to the forum when you want to discuss this or have further questions.