Browse Source

fixed nsfw blacklisted tags command and also the description.

tags/v1.7.0
Roxie Gibson 6 years ago
parent
commit
d393c439d4
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      Roxbot/settings/settings.py

+ 2
- 1
Roxbot/settings/settings.py View File

@@ -417,6 +417,7 @@ class Settings:
Options:
enable/disable: Enable/disables nsfw commands.
addchannel/removechannel: Adds/Removes a nsfw channel.
addbadtag/removebadtag: Add/Removes blacklisted tags so that you can avoid em with the commands.
Example:
;settings nsfw addchannel #nsfw_stuff
"""
@@ -444,7 +445,7 @@ class Settings:
except ValueError:
return await ctx.send("That role was not in the list.")
elif selection == "addbadtag":
if changes not in nsfw["nsfw"]["blacklist"]:
if changes not in nsfw["blacklist"]:
nsfw["blacklist"].append(changes)
await ctx.send("'{}' has been added to the blacklisted tag list.".format(changes))
else:

Loading…
Cancel
Save