Final fix to wikipedia.lua.
This commit is contained in:
		| @@ -12,7 +12,7 @@ local action = function(msg) | ||||
| 	local output = msg.reply_to_message.text:gsub( | ||||
| 		msg.text:match('^/s/(.-)/(.-)/?$') | ||||
| 	) | ||||
| 	output = 'Did you mean:\n"' .. output:sub(1, 4000) .. '"?' | ||||
| 	output = 'Did you mean:\n"' .. output:sub(1, 4000) .. '"' | ||||
| 	sendReply(msg.reply_to_message, output) | ||||
|  | ||||
| end | ||||
|   | ||||
| @@ -65,7 +65,7 @@ local action = function(msg) | ||||
| 	text = text:gsub('</?.->', '') | ||||
| 	local l = text:find('\n') | ||||
| 	if l then | ||||
| 		text = text:sub(1, l-2) | ||||
| 		text = text:sub(1, l-1) | ||||
| 	end | ||||
|  | ||||
| 	title = title:gsub('%(.+%)', '') | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 topkecleon
					topkecleon