mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-30 14:14:37 +01:00
Oops, forgot the '% word'
This commit is contained in:
parent
f06a552b73
commit
c98a25d6a2
@ -807,7 +807,7 @@ class FunCommands(callbacks.Privmsg):
|
|||||||
conn = dictclient.Connection('dict.org')
|
conn = dictclient.Connection('dict.org')
|
||||||
definitions = conn.define('*', word)
|
definitions = conn.define('*', word)
|
||||||
if not definitions:
|
if not definitions:
|
||||||
irc.reply(msg, 'No definition for %r could be found.')
|
irc.reply(msg, 'No definition for %r could be found.' % word)
|
||||||
return
|
return
|
||||||
L = []
|
L = []
|
||||||
utils.sortBy(lambda d: len(d.getdefstr()), definitions)
|
utils.sortBy(lambda d: len(d.getdefstr()), definitions)
|
||||||
|
Loading…
Reference in New Issue
Block a user