From 1fb7cffce0c8d23d04f356f8957e549982ecc01f Mon Sep 17 00:00:00 2001 From: Dragory <2606411+Dragory@users.noreply.github.com> Date: Wed, 5 Aug 2020 22:03:07 +0300 Subject: [PATCH] Update !invite title formatting to match !server --- backend/src/plugins/Utility/functions/getInviteInfoEmbed.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/src/plugins/Utility/functions/getInviteInfoEmbed.ts b/backend/src/plugins/Utility/functions/getInviteInfoEmbed.ts index 45843e77..90946d24 100644 --- a/backend/src/plugins/Utility/functions/getInviteInfoEmbed.ts +++ b/backend/src/plugins/Utility/functions/getInviteInfoEmbed.ts @@ -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}`, };