Browse Source

print settings being fucking weird

tags/v1.3.0
roxie 6 years ago
parent
commit
6d07b1f8d4
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      cogs/settings.py

+ 3
- 1
cogs/settings.py View File

@@ -167,10 +167,12 @@ class Settings():
em.set_author(name="{} settings for {}.".format(self.bot.user.name, ctx.message.server.name), icon_url=self.bot.user.avatar_url)

for settings in config:
if settings != "custom_commands":
if settings != "custom_commands" or settings != "warnings":
settingcontent = ""
for x in config[settings].items():
settingcontent += str(x).strip("()") + "\n"
if not settingcontent:
settingcontent = "."
em.add_field(name=settings, value=settingcontent, inline=False)
else:
em.add_field(name="custom_commands", value="For Custom Commands, use the custom list command.", inline=False)

Loading…
Cancel
Save