mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-23 10:34:19 +01:00
<Strike|work@oftc> I like the extraneous '.' on the end of the factoids.
This commit is contained in:
parent
f719009e1d
commit
d0b7d5906f
@ -179,10 +179,10 @@ class Factoids(ChannelDBHandler, callbacks.Privmsg):
|
|||||||
counter += 1
|
counter += 1
|
||||||
totalResults = len(factoids)
|
totalResults = len(factoids)
|
||||||
if ircutils.shrinkList(factoids, ', or ', 400):
|
if ircutils.shrinkList(factoids, ', or ', 400):
|
||||||
s = '%s could be %s. (%s results shown out of %s)' % \
|
s = '%s could be %s (%s results shown out of %s)' % \
|
||||||
(key, ', or '.join(factoids), counter-1, totalResults)
|
(key, ', or '.join(factoids), counter-1, totalResults)
|
||||||
else:
|
else:
|
||||||
s = '%s could be %s.' % (key, ', or '.join(factoids))
|
s = '%s could be %s' % (key, ', or '.join(factoids))
|
||||||
irc.reply(msg, s)
|
irc.reply(msg, s)
|
||||||
|
|
||||||
def lock(self, irc, msg, args):
|
def lock(self, irc, msg, args):
|
||||||
|
Loading…
Reference in New Issue
Block a user