MessageEmbedAuthor.fromUser constructor
MessageEmbedAuthor.fromUser(
- User user
Creates a MessageEmbedAuthor field from a User
Implementation
factory MessageEmbedAuthor.fromUser(User user) {
return MessageEmbedAuthor(name: user.username);
}