Fehlermeldung wenn TXT nicht erreichbar
This commit is contained in:
parent
7e5c5ec06c
commit
d9ef487bcb
@ -4,7 +4,7 @@ local function run(msg, matches)
|
||||
else
|
||||
res,code = http.request('http://'..matches[1]..'.txt')
|
||||
end
|
||||
if code ~= 200 then return nil end
|
||||
if code ~= 200 then return 'Fehler beim Laden der TXT' end
|
||||
return res
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user