Skip to content

Commit d09b12a

Browse files
author
MuffinMedic
committed
Prefix command name with factoid char for clarity
Requested by another user
1 parent 2c36533 commit d09b12a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugins/factoids.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,6 @@ def listfactoids(notice, chan):
187187
def listdetailedfactoids(chan):
188188
"""- lists all available factoids with their respective data"""
189189
headers = ("Command", "Output")
190-
data = [(fact[0], fact[1]) for fact in sorted(factoid_cache[chan].items())]
190+
data = [(FACTOID_CHAR + fact[0], fact[1]) for fact in sorted(factoid_cache[chan].items())]
191191
table = gen_markdown_table(headers, data).encode('UTF-8')
192192
return web.paste(table, "md", "hastebin")

0 commit comments

Comments
 (0)