mirror of
https://github.com/jlu5/SupyPlugins.git
synced 2025-04-27 13:31:10 -05:00
Randomness: fix expansion of multi word actions
This commit is contained in:
parent
300130860c
commit
abe18ad205
@ -250,7 +250,7 @@ class Randomness(callbacks.Plugin):
|
|||||||
except KeyError: n = 0
|
except KeyError: n = 0
|
||||||
if len(a) >= 2:
|
if len(a) >= 2:
|
||||||
return "\x02%s\x02 %s. (Votes: \x02%s\x02)" % \
|
return "\x02%s\x02 %s. (Votes: \x02%s\x02)" % \
|
||||||
(a[0], ''.join(a[1:]), n)
|
(a[0], ' '.join(a[1:]), n)
|
||||||
return "\x02%s\x02. (Votes: \x02%s\x02)" % \
|
return "\x02%s\x02. (Votes: \x02%s\x02)" % \
|
||||||
(action, n)
|
(action, n)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user