mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-07 11:48:55 -05:00
Formating added to Economyset
A small quality of life change... It would be nice if we can make the code not like like it comes from 2002 ;)
This commit is contained in:
parent
203b3b5a1a
commit
255842d3e6
@ -213,10 +213,10 @@ class Economy:
|
|||||||
async def economyset(self, ctx):
|
async def economyset(self, ctx):
|
||||||
"""Changes economy module settings"""
|
"""Changes economy module settings"""
|
||||||
if ctx.invoked_subcommand is None:
|
if ctx.invoked_subcommand is None:
|
||||||
msg = ""
|
msg = "```"
|
||||||
for k, v in self.settings.items():
|
for k, v in self.settings.items():
|
||||||
msg += str(k) + ": " + str(v) + "\n"
|
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)
|
await self.bot.say(msg)
|
||||||
|
|
||||||
@economyset.command()
|
@economyset.command()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user