This commit is contained in:
Twentysix 2016-02-16 11:51:44 +01:00
parent 291ef3e28e
commit 1f846c1409
2 changed files with 4 additions and 3 deletions

View File

@ -71,7 +71,7 @@ class Economy:
self.add_money(id, self.settings["PAYDAY_CREDITS"]) self.add_money(id, self.settings["PAYDAY_CREDITS"])
await self.bot.say("{} `Here, take some credits. Enjoy! (+{} credits!)`".format(author.mention, str(self.settings["PAYDAY_CREDITS"]))) await self.bot.say("{} `Here, take some credits. Enjoy! (+{} credits!)`".format(author.mention, str(self.settings["PAYDAY_CREDITS"])))
else: else:
await self.bot.say("{} `You need an account to receive credits. (!economy)`".format(author.mention)) await self.bot.say("{} `You need an account to receive credits.`".format(author.mention))
@commands.command(pass_context=True) @commands.command(pass_context=True)
async def payouts(self, ctx): async def payouts(self, ctx):

View File

@ -106,7 +106,7 @@ class General:
""" """
question = " ".join(question) question = " ".join(question)
if question.endswith("?") and question != "?": if question.endswith("?") and question != "?":
return await self.bot.say("```" + randchoice(self.ball) + "```") return await self.bot.say("`" + randchoice(self.ball) + "`")
else: else:
return await self.bot.say("That doesn't look like a question.") return await self.bot.say("That doesn't look like a question.")
@ -200,7 +200,8 @@ class General:
"""Starts/stops a poll """Starts/stops a poll
Usage example: Usage example:
poll Is this a poll?;Yes;No;Maybe""" poll Is this a poll?;Yes;No;Maybe
poll stop"""
message = ctx.message message = ctx.message
if len(text) == 1: if len(text) == 1:
if text[0].lower() == "stop": if text[0].lower() == "stop":