From 92d30dcb19b17057efdf76006bff0d66becbe73f Mon Sep 17 00:00:00 2001 From: Twentysix Date: Mon, 8 Feb 2016 22:57:59 +0100 Subject: [PATCH] Fixed 8ball --- cogs/general.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cogs/general.py b/cogs/general.py index 0edee4fb7..410961429 100644 --- a/cogs/general.py +++ b/cogs/general.py @@ -99,11 +99,12 @@ class General: await self.bot.say("Choose rock, paper or scissors.") @commands.command(name="8", aliases=["8ball"]) - async def _8ball(self, question : str): + async def _8ball(self, *question): """Ask 8 ball a question Question must end with a question mark. """ + question = " ".join(question) if question.endswith("?") and question != "?": return await self.bot.say("```" + randchoice(self.ball) + "```") else: