Kleine Fixes
This commit is contained in:
		| @@ -23,7 +23,7 @@ function media_download:download_to_file_permanently(url, save_dir, file_name) | ||||
|   if code ~= 200 then return false end | ||||
|  | ||||
|   local file_path = save_dir..'/'..file_name | ||||
|   print(file_path) | ||||
|   --print(file_path) | ||||
|   file = io.open(file_path, "w+") | ||||
|   file:write(table.concat(respbody)) | ||||
|   file:close() | ||||
|   | ||||
| @@ -8,8 +8,6 @@ end | ||||
|  | ||||
| mc_skin.command = 'skin <Username>' | ||||
|  | ||||
| local BASE_URL = 'http://ip-api.com/json' | ||||
|  | ||||
| function mc_skin:action(msg, config, matches) | ||||
|   local input = utilities.input(msg.text) | ||||
|   if not input then | ||||
|   | ||||
| @@ -5,7 +5,7 @@ preview.command = 'preview <link>' | ||||
| function preview:init(config) | ||||
| 	preview.triggers = utilities.triggers(self.info.username, config.cmd_pat):t('preview', true).table | ||||
| 	preview.inline_triggers = { | ||||
| 	  "^pr (https?://[%w-_%.%?%.,:/%+=&%~%%#]+)$" | ||||
| 	  "^pr (https?://[%w-_%.%?%.,:;/%+=&%~%%#]+)$" | ||||
| 	} | ||||
| 	preview.doc = [[* | ||||
| ]]..config.cmd_pat..[[preview* _<URL>_ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user