steps39 / dtgbot

Telegram Bot for Domoticz
19 stars 18 forks source link

Possible typo in dtg_main_functions.lua #22

Closed anyremote closed 4 months ago

anyremote commented 4 months ago
    if **msg_type == "voice"** then
      Print_to_Log(0, "!! Voice file received but voice.sh or lua not found to process it. skipping the message.")
      Telegram_SendMessage(msg_from, "⚡️ voice.sh or lua missing?? ⚡️", msg_id)
    elseif **msg_type == "voice"** then
      Print_to_Log(0, "!! Video file received but video_note.sh or lua not found to process it. Skipping the message.")
      Telegram_SendMessage(msg_from, "⚡️ video_note.sh or lua missing?? ⚡️", msg_id)

seems second "voice" should be "video"

jvanderzande commented 4 months ago

Fixed... thanks