3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-03-18 15:00:00 +00:00

Merge branch 'master' of github.com:Dragory/ZeppelinBot

This commit is contained in:
Dragory 2021-09-04 19:07:51 +03:00
commit 6f4737a2e2
No known key found for this signature in database
GPG key ID: 5F387BA66DF8AAC1

View file

@ -65,7 +65,7 @@ export async function getInviteInfoEmbed(
`),
inline: true,
});
if (invite.channel) {
const channelName =
invite.channel.type === ChannelTypeStrings.VOICE ? `🔉 ${invite.channel.name}` : `#${invite.channel.name}`;
@ -91,6 +91,7 @@ export async function getInviteInfoEmbed(
value: channelInfo,
inline: true,
});
}
if (invite.inviter) {
embed.fields.push({