Fix für Soundboards
This commit is contained in:
parent
7e06e017ee
commit
66ff88cc7f
@ -20,7 +20,7 @@ local function run(msg, matches)
|
|||||||
return "Nichts gefunden!\nSicher, dass "..matches[1].." existiert?"
|
return "Nichts gefunden!\nSicher, dass "..matches[1].." existiert?"
|
||||||
else
|
else
|
||||||
print('Sende Sound')
|
print('Sende Sound')
|
||||||
send_document(receiver, file, rmtmp_cb, cb_extra)
|
send_audio(receiver, file, rmtmp_cb, cb_extra)
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
@ -17,8 +17,8 @@ local function run(msg, matches)
|
|||||||
if not file then
|
if not file then
|
||||||
return "Nichts gefunden!\nSicher, dass "..matches[1].." existiert?"
|
return "Nichts gefunden!\nSicher, dass "..matches[1].." existiert?"
|
||||||
else
|
else
|
||||||
print('Sende Datei')
|
print('Sende Sound')
|
||||||
send_document(receiver, file, rmtmp_cb, cb_extra)
|
send_audio(receiver, file, rmtmp_cb, cb_extra)
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
Reference in New Issue
Block a user