mirror of https://github.com/Mikaela/Limnoria.git
Oops, left a random.choice with the arguments of a random.shuffle.
This commit is contained in:
parent
a16bb77cba
commit
ab302e5742
|
@ -127,7 +127,7 @@ class Babelfish(callbacks.Privmsg):
|
|||
allowEnglish = privmsgs.getArgs(args, needed=0, optional=1)
|
||||
language = random.choice(babelfish.available_languages)
|
||||
while not allowEnglish and language == 'English':
|
||||
language = random.choice(babelfish.available_languages, 1)
|
||||
language = random.choice(babelfish.available_languages)
|
||||
irc.reply(msg, language)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue