wolframalpha/pmxbot.py
def wa(client, event, channel, nick, rest):
	"""
	A free-text query resolver by Wolfram|Alpha. Returns the first
	result, if available.
	"""
	client = wolframalpha.Client(pmxbot.config['Wolfram|Alpha API key'])
	res = client.query(rest)
	return next(res.results).text
def wa(client, event, channel, nick, rest):
	"""
	A free-text query resolver by Wolfram|Alpha. Returns the first
	result, if available.
	"""
	client = wolframalpha.Client(pmxbot.config['Wolfram|Alpha API key'])
	res = client.query(rest)
	return next(res.results).text
A free-text query resolver by Wolfram|Alpha. Returns the first
	result, if available.