Browse Source

fixed bug in which removing a role did not provide a response for a user in gss.

tags/v1.3.2
roxie 6 years ago
parent
commit
1b90ca0d87
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      cogs/gss.py
  2. +1
    -1
      config/meta.py

+ 1
- 1
cogs/gss.py View File

@@ -71,7 +71,7 @@ class GaySoundsShitposting():
if self.nsfw_image_role in member.roles:
await self.bot.remove_roles(member, self.nsfw_image_role)
if logging:
return await self.bot.send_message(self.bot.get_channel(logging), content="{} has removed the {} role.".format(member.mention, self.nsfw_image_role.name))
await self.bot.send_message(self.bot.get_channel(logging), content="{} has removed the {} role.".format(member.mention, self.nsfw_image_role.name))
return await self.bot.say("You already had {}. It has now been removed.".format(self.nsfw_image_role.name))

time = datetime.datetime.now() - ctx.message.author.joined_at

+ 1
- 1
config/meta.py View File

@@ -3,5 +3,5 @@ __description__ = """RoxBot, A Discord Bot made by a filthy Mercy Main. Built wi
[Github link](https://github.com/RainbowDinoaur/roxbot)
[Changelog](https://github.com/RainbowDinoaur/roxbot#v100)"""
__author__ = "Roxanne Gibson"
__version__= "1.3.1"
__version__= "1.3.2"
embedcolour = 0xDEADBF

Loading…
Cancel
Save