diff options
Diffstat (limited to 'lib/Bot/Games/Game.pm')
-rw-r--r-- | lib/Bot/Games/Game.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Bot/Games/Game.pm b/lib/Bot/Games/Game.pm index 9e79219..bba2b16 100644 --- a/lib/Bot/Games/Game.pm +++ b/lib/Bot/Games/Game.pm @@ -60,7 +60,7 @@ command cmdlist => sub { if $method->meta->can('does_role') && $method->meta->does_role('Bot::Games::Meta::Role::Command'); } - return sort map { '-' . $_ } @commands; + return join ' ', sort map { '-' . $_ } @commands; }, needs_init => 0; # this happens in Bot::Games, since we want to add the say method from there |