Skip to content
Snippets Groups Projects
Commit 52c9c69e authored by Bruce Cowan's avatar Bruce Cowan :airplane: Committed by GitHub
Browse files

Make factoid list return a single line

Fixes #12
parent 76b853dc
No related branches found
No related tags found
No related merge requests found
......@@ -44,8 +44,7 @@ class Factoid(BotPlugin):
if not self.factoids:
yield "There are no factoids"
for name in sorted(self.factoids.keys()):
yield name
yield ', '.join(sorted(self.factoids))
@botcmd
def factoid_random(self, message, args):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment