Browse Source

Merge branch 'master' into rewrite

tags/v1.3.0
roxie 6 years ago
parent
commit
4ce0325c16
4 changed files with 7 additions and 3 deletions
  1. +1
    -1
      LICENSE
  2. +2
    -0
      README.md
  3. +1
    -1
      cogs/customcommands.py
  4. +3
    -1
      cogs/settings.py

+ 1
- 1
LICENSE View File

@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2017 Roxanne Gibson
Copyright (c) 2018 Roxanne Gibson

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal

+ 2
- 0
README.md View File

@@ -23,6 +23,8 @@ A simple Discord Bot used by me personally, written for fun.

######Bug FIxes
- Fixed bug where Custom Commands would ignore the blacklist.
- Fixed issue where custom command outputs were always lowercase
- Fixed some naughty swears that were placeholders for a more civilised response.
- Removed Herobrine

#### v1.2.0

+ 1
- 1
cogs/customcommands.py View File

@@ -45,7 +45,7 @@ class CustomCommands():
"Adds a custom command to the list of custom commands."
self.servers = self.con.load_config()
command = command.lower()
output = output.lower()
output = output
zero = self.servers[ctx.message.server.id]["custom_commands"]["0"]
one = self.servers[ctx.message.server.id]["custom_commands"]["1"]


+ 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