mirror of
https://github.com/yuzu-emu/Command-fix.git
synced 2024-11-21 22:35:43 +01:00
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 })
|
||||
.setTimestamp()
|
||||
.setColor('Blue');
|
||||
const userInfo = `${message.author?.toString()} (${message.author?.username}) (${message.author})`;
|
||||
const userInfo = `\`${message.author?.toString()}\` (${message.author?.username})`;
|
||||
await Promise.all(
|
||||
[
|
||||
state.msglogChannel?.send({ content: userInfo, embeds: [commandUsageEmbed] }),
|
||||
|
Loading…
Reference in New Issue
Block a user