mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-03 01:39:23 +01:00
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)
|
allowEnglish = privmsgs.getArgs(args, needed=0, optional=1)
|
||||||
language = random.choice(babelfish.available_languages)
|
language = random.choice(babelfish.available_languages)
|
||||||
while not allowEnglish and language == 'English':
|
while not allowEnglish and language == 'English':
|
||||||
language = random.choice(babelfish.available_languages, 1)
|
language = random.choice(babelfish.available_languages)
|
||||||
irc.reply(msg, language)
|
irc.reply(msg, language)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user