64f770f2 by Barry

Added some formatting

1 parent d47c384c
......@@ -582,11 +582,11 @@ Stuff:
res = wolf.query(question)
try:
if len(res.pods):
pod_text = ""
pod_text = []
for pod in res.pods:
if pod.text:
pod_text += pod.text
client.send_message(message.channel, '{} {}.'.format(message.author.mention(), byteify(pod_text[:1500])))
pod_text.append(pod.text)
client.send_message(message.channel, '{} {}.'.format(message.author.mention(), byteify("\n".join(pod_text)[:1990])))
else:
tagged_sent = pos_tag(question.replace('?', '').split())
proper_nouns = [word for word, pos in tagged_sent if pos == 'NNP']
......