mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2025-06-16 11:25:22 +02:00
Better nickname support
- Username field will not be overwritten with the nickname. - Mentions work again! - User chip will show nickname instead of username if present - Authenticated embed users sidebar nickname support
This commit is contained in:
@ -69,8 +69,6 @@ class DatabaseInterface(object):
|
||||
|
||||
def get_message_author(self, message):
|
||||
author = message.author
|
||||
if hasattr(author, 'nick') and author.nick:
|
||||
author.name = author.nick
|
||||
obj = {
|
||||
"username": author.name,
|
||||
"discriminator": author.discriminator,
|
||||
|
Reference in New Issue
Block a user