Make AuditLogDiff.roles an empty list instead of None.

This commit is contained in:
Rapptz
2017-05-07 12:05:10 -04:00
parent eb58ddffd8
commit 140be3e4c8
2 changed files with 2 additions and 2 deletions

View File

@ -157,7 +157,7 @@ class AuditLogChanges:
self.before.color = self.before.colour
def _handle_role(self, first, second, entry, elem):
setattr(first, 'roles', None)
setattr(first, 'roles', [])
data = []
roles = entry.guild.roles