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 7e504c9d3d
commit 4a22b01ea0

View file

@ -43,7 +43,7 @@ export default async (user: ILocalUser) => {
attachment.push({
type: 'PropertyValue',
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>`
});
}