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?"
|
||||
else
|
||||
print('Sende Sound')
|
||||
send_document(receiver, file, rmtmp_cb, cb_extra)
|
||||
send_audio(receiver, file, rmtmp_cb, cb_extra)
|
||||
end
|
||||
|
||||
end
|
||||
|
@ -17,8 +17,8 @@ local function run(msg, matches)
|
||||
if not file then
|
||||
return "Nichts gefunden!\nSicher, dass "..matches[1].." existiert?"
|
||||
else
|
||||
print('Sende Datei')
|
||||
send_document(receiver, file, rmtmp_cb, cb_extra)
|
||||
print('Sende Sound')
|
||||
send_audio(receiver, file, rmtmp_cb, cb_extra)
|
||||
end
|
||||
|
||||
end
|
||||
|
Reference in New Issue
Block a user