server: avoid pinging the user when logging the command
This commit is contained in:
parent
aa54213734
commit
0432fbe881
|
@ -218,7 +218,7 @@ client.on('messageCreate', async (message) => {
|
||||||
.addFields({ name: 'Command', value: `\`\`\`\n${message.content}\n\`\`\``, inline: false })
|
.addFields({ name: 'Command', value: `\`\`\`\n${message.content}\n\`\`\``, inline: false })
|
||||||
.setTimestamp()
|
.setTimestamp()
|
||||||
.setColor('Blue');
|
.setColor('Blue');
|
||||||
const userInfo = `${message.author?.toString()} (${message.author?.username}) (${message.author})`;
|
const userInfo = `\`${message.author?.toString()}\` (${message.author?.username})`;
|
||||||
await Promise.all(
|
await Promise.all(
|
||||||
[
|
[
|
||||||
state.msglogChannel?.send({ content: userInfo, embeds: [commandUsageEmbed] }),
|
state.msglogChannel?.send({ content: userInfo, embeds: [commandUsageEmbed] }),
|
||||||
|
|
Loading…
Reference in New Issue