mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 11:09:23 +01:00
No reason why we can't sample empty strings.
This commit is contained in:
parent
f4d7da4f35
commit
5b622adec6
@ -120,7 +120,7 @@ class Random(callbacks.Privmsg):
|
|||||||
sample = self.rng.sample(items, n)
|
sample = self.rng.sample(items, n)
|
||||||
sample.sort()
|
sample.sort()
|
||||||
irc.reply(utils.commaAndify(sample))
|
irc.reply(utils.commaAndify(sample))
|
||||||
sample = wrap(sample, ['int', many('something')])
|
sample = wrap(sample, ['int', many('anything')])
|
||||||
|
|
||||||
def diceroll(self, irc, msg, args, n):
|
def diceroll(self, irc, msg, args, n):
|
||||||
"""[<number of sides>]
|
"""[<number of sides>]
|
||||||
|
Loading…
Reference in New Issue
Block a user