hello, I am trying to make the bot send files to me
these files are on the data folder,, along with : moderation.json, config.lua
his name is android.apk,,,
this and the command that I have::
local function run(msg, matches)
send_document(receiver, 'data/android.apk', ok_cb, false)
end
return {
description = "send file",
usage = "/file ",
patterns = {
"^/file",
"^!file"
},
run = run
}
hello, I am trying to make the bot send files to me these files are on the data folder,, along with : moderation.json, config.lua his name is android.apk,,,
this and the command that I have::
local function run(msg, matches) send_document(receiver, 'data/android.apk', ok_cb, false) end
description = "send file", usage = "/file ", patterns = { "^/file", "^!file" }, run = run }
but he did not send the file what could be wrong?