mirror of
https://github.com/janderedev/automod.git
synced 2024-12-22 18:55:28 +00:00
fix bridged replies on discord
This commit is contained in:
parent
b49ecb3f6a
commit
ed85be6cdb
|
@ -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));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue