Update !invite title formatting to match !server

This commit is contained in:
Dragory 2020-08-05 22:03:07 +03:00
parent 6118639dd3
commit 1fb7cffce0
No known key found for this signature in database
GPG key ID: 5F387BA66DF8AAC1

View file

@ -30,7 +30,7 @@ export async function getInviteInfoEmbed(
};
embed.author = {
name: `Server Invite - ${invite.guild.name}`,
name: `Server invite: ${invite.guild.name}`,
url: `https://discord.gg/${invite.code}`,
};
@ -108,7 +108,7 @@ export async function getInviteInfoEmbed(
};
embed.author = {
name: invite.channel.name ? `Group DM Invite - ${invite.channel.name}` : `Group DM Invite`,
name: invite.channel.name ? `Group DM invite: ${invite.channel.name}` : `Group DM invite`,
url: `https://discord.gg/${invite.code}`,
};