Merge pull request #117 from Kowlin/economy

Added formating to Economy
This commit is contained in:
Twentysix 2016-04-04 20:30:46 +02:00
commit 38881cf71d
2 changed files with 7 additions and 7 deletions

View File

@ -213,10 +213,10 @@ class Economy:
async def economyset(self, ctx):
"""Changes economy module settings"""
if ctx.invoked_subcommand is None:
msg = ""
msg = "```"
for k, v in self.settings.items():
msg += str(k) + ": " + str(v) + "\n"
msg += "\nType help economyset to see the list of commands."
msg += "\nType {}help economyset to see the list of commands.```".format(ctx.prefix)
await self.bot.say(msg)
@economyset.command()