Fix mentions with nicknames

This commit is contained in:
Jeremy Zhang
2017-08-10 02:56:45 +00:00
parent 77bde8f258
commit 68d8882d3e
3 changed files with 11 additions and 4 deletions

View File

@ -81,8 +81,6 @@ class DatabaseInterface(object):
def get_message_mentions(self, mentions):
ments = []
for author in mentions:
if author.nick:
author.name = author.nick
ments.append({
"username": author.name,
"discriminator": author.discriminator,