Fehlermeldung wenn TXT nicht erreichbar
This commit is contained in:
		| @@ -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