fix bridged replies on discord
This commit is contained in:
parent
b49ecb3f6a
commit
ed85be6cdb
1 changed files with 1 additions and 0 deletions
|
@ -182,6 +182,7 @@ client.on('message', async message => {
|
||||||
embed.setAuthor({
|
embed.setAuthor({
|
||||||
name: `@${msg?.author?.username ?? 'Unknown'}`,
|
name: `@${msg?.author?.username ?? 'Unknown'}`,
|
||||||
iconURL: msg?.author?.generateAvatarURL({ size: 64 }),
|
iconURL: msg?.author?.generateAvatarURL({ size: 64 }),
|
||||||
|
url: msg?.url,
|
||||||
});
|
});
|
||||||
if (msg?.content) embed.setDescription('>>> ' + clipText(msg.content, 200));
|
if (msg?.content) embed.setDescription('>>> ' + clipText(msg.content, 200));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue