Pimp translator added to the bot.
This commit is contained in:
		
							
								
								
									
										7
									
								
								modules/pimp/pimp.sh
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										7
									
								
								modules/pimp/pimp.sh
									
									
									
									
									
										Executable file
									
								
							| @@ -0,0 +1,7 @@ | ||||
| [ -f functions.sh ] && source functions.sh | ||||
|  | ||||
| shift | ||||
| chan="$1" | ||||
| shift | ||||
| pimpText="${@#pimp }" | ||||
| msg "$chan" "$(curl -s --data-urlencode English="$pimpText" --data-urlencode submit="Submit send" http://joel.net/EBONICS/Translator | grep '                            <textarea id="Ebonics" name="Ebonics" class="materialize-textarea validate" required>' | sed -e 's/^                            <textarea id="Ebonics" name="Ebonics" class="materialize-textarea validate" required>//' -e "s/'/'/g" -e 's#</textarea>##' -e 's/^$//g' -e 's/"/\\"/g')" | ||||
		Reference in New Issue
	
	Block a user