mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-10-14 17:59:29 +02:00
Bold, for Strike. And also a bugfix, so it's not an entirely useless commit :)
This commit is contained in:
parent
7f77e68384
commit
2484ce94be
@ -42,6 +42,7 @@ import dictclient
|
|||||||
import conf
|
import conf
|
||||||
import debug
|
import debug
|
||||||
import utils
|
import utils
|
||||||
|
import ircutils
|
||||||
import privmsgs
|
import privmsgs
|
||||||
import callbacks
|
import callbacks
|
||||||
|
|
||||||
@ -125,7 +126,7 @@ class Dict(callbacks.Privmsg):
|
|||||||
irc.reply(msg, 'No definition for %r could be found.' % word)
|
irc.reply(msg, 'No definition for %r could be found.' % word)
|
||||||
else:
|
else:
|
||||||
irc.reply(msg, 'No definition for %r could be found in %s' % \
|
irc.reply(msg, 'No definition for %r could be found in %s' % \
|
||||||
(word, dictionary))
|
(word, ircutils.bold(dictionary)))
|
||||||
return
|
return
|
||||||
L = []
|
L = []
|
||||||
for d in definitions:
|
for d in definitions:
|
||||||
@ -144,7 +145,7 @@ class Dict(callbacks.Privmsg):
|
|||||||
(utils.commaAndify(dbs), len(L), '; '.join(L))
|
(utils.commaAndify(dbs), len(L), '; '.join(L))
|
||||||
irc.reply(msg, s)
|
irc.reply(msg, s)
|
||||||
else:
|
else:
|
||||||
irc.reply('; '.join(L))
|
irc.reply(msg, '; '.join(L))
|
||||||
|
|
||||||
|
|
||||||
Class = Dict
|
Class = Dict
|
||||||
|
Loading…
Reference in New Issue
Block a user