No @ for account name (#3586)

* No @ for account name

* Use @ for GitHub
This commit is contained in:
MeiMei 2018-12-12 17:33:08 +09:00 committed by GitHub
parent c237f49016
commit 7645c212a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -43,7 +43,7 @@ export default async (user: ILocalUser) => {
attachment.push({ attachment.push({
type: 'PropertyValue', type: 'PropertyValue',
name: 'Discord', name: 'Discord',
value: `<a href="https://discordapp.com/users/${user.discord.id}" rel="me nofollow noopener" target="_blank"><span>@${user.discord.username}#${user.discord.discriminator}</span></a>` value: `<a href="https://discordapp.com/users/${user.discord.id}" rel="me nofollow noopener" target="_blank"><span>${user.discord.username}#${user.discord.discriminator}</span></a>`
}); });
} }