fix bridged replies on discord

This commit is contained in:
janderedev 2022-05-07 20:19:53 +02:00
parent b49ecb3f6a
commit ed85be6cdb
Signed by: Lea
GPG key ID: 5D5E18ACB990F57A

View file

@ -182,6 +182,7 @@ client.on('message', async message => {
embed.setAuthor({
name: `@${msg?.author?.username ?? 'Unknown'}`,
iconURL: msg?.author?.generateAvatarURL({ size: 64 }),
url: msg?.url,
});
if (msg?.content) embed.setDescription('>>> ' + clipText(msg.content, 200));
}