Reduce amount of information returned
authorArmaan Bhojwani <me@armaanb.net>
Tue, 26 Jan 2021 05:05:52 +0000 (00:05 -0500)
committerArmaan Bhojwani <me@armaanb.net>
Tue, 26 Jan 2021 05:05:52 +0000 (00:05 -0500)
tallbot.py

index 4cd6f89738b4d7d9db93f67bbf414c866bc83600..fba1c1639eb445f2ec52de26a9f36e087525e174 100755 (executable)
@@ -82,9 +82,9 @@ class TallBot(discord.Client):
         query = create_query(message.content)
         more_info = tell_more(message.content, message.author)
         if query:
-            await message.channel.send(wiki_sum(query, 2, message.author))
+            await message.channel.send(wiki_sum(query, 1, message.author))
         elif more_info:
-            await message.channel.send(wiki_sum(more_info, 8, message.author))
+            await message.channel.send(wiki_sum(more_info, 6, message.author))
 
 def main():
     prep_database()