Browse Source

bug fixes are fun. Changes in change log.

tags/v1.3.3
roxie 6 years ago
parent
commit
54ad925156
3 changed files with 9 additions and 2 deletions
  1. +5
    -0
      README.md
  2. +3
    -1
      cogs/admin.py
  3. +1
    -1
      config/meta.py

+ 5
- 0
README.md View File

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

## Changelog

#### v1.3_3
###### Hottest of Bug Fixes
- Warn list now actually works for all warnings.
- Slowmode now ignores mods and admins.

#### v1.3.2
###### Bug Fixes
- Fixed logging for gss cog again...

+ 3
- 1
cogs/admin.py View File

@@ -25,6 +25,8 @@ class Admin():

if not author == self.bot.user:
if self.slow_mode and channel.id in self.slow_mode_channels:
if author.id not in self.servers[message.server.id]["perm_roles"]["admin"] or author.id not in self.servers[message.server.id]["perm_roles"]["mod"]:
return
if author.id not in self.users[channel.id]:
# If user hasn't sent a message in this channel after slow mode was turned on
self.users[channel.id][author.id] = message.timestamp
@@ -208,7 +210,7 @@ class Admin():
for user in self.servers[ctx.message.server.id]["warnings"]:
user_obj = await self.bot.get_user_info(user)
output += "{}#{}: {} Warning(s)\n".format(user_obj.name, user_obj.discriminator, len(self.servers[ctx.message.server.id]["warnings"][user]))
return await self.bot.say(output)
return await self.bot.say(output)


if not user.id in self.servers[ctx.message.server.id]["warnings"]:

+ 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.2"
__version__= "1.3.3"
embedcolour = 0xDEADBF

Loading…
Cancel
Save