Kein Text für send_voice und send_audio

This commit is contained in:
Andreas Bielawski
2016-08-24 22:33:19 +02:00
parent 6a5b079876
commit d5ece27770
2 changed files with 3 additions and 3 deletions

View File

@ -40,9 +40,9 @@ function media:action(msg, config, matches)
if ext == 'gif' then
result = utilities.send_document(receiver, file, nil, msg.message_id)
elseif ext == 'ogg' then
result = utilities.send_voice(receiver, file, nil, msg.message_id)
result = utilities.send_voice(receiver, file, msg.message_id)
elseif mime_type == 'audio' then
result = utilities.send_audio(receiver, file, nil, msg.message_id)
result = utilities.send_audio(receiver, file, msg.message_id)
elseif mime_type == 'video' then
result = utilities.send_video(receiver, file, nil, msg.message_id)
else