This commit is contained in:
Lea 2023-03-17 18:04:16 +01:00
parent 7d7fca9d0c
commit 00edad84fa
Signed by: Lea
GPG key ID: 1BAFFE8347019C42

View file

@ -268,7 +268,7 @@ client.on('message', async (message) => {
remove: ['StatusText']
});
await logs?.sendMessage({ embeds: [
embed(`<@${message.author_id}> (${message.author_id}) cleared the bot's status.`, 'Status cleared by user', 'INFO'),
embed(`<@${message.author_id}> (${message.author_id}) cleared the status`, 'Status cleared by user', 'INFO'),
] });
await message.reply({ embeds: [
embed('Status cleared!', undefined, 'SUCCESS'),
@ -282,7 +282,7 @@ client.on('message', async (message) => {
},
});
await logs?.sendMessage({ embeds: [
embed(`<@${message.author_id}> (${message.author_id}) set the bot's status to:\n\n>${status.replace(/\n/g, '>')}`, 'Status cleared by user', 'INFO'),
embed(`Status set by <@${message.author_id}> (${message.author_id}):\n\n>${status.replace(/\n/g, '>')}`, 'Status changed by user', 'INFO'),
] });
await message.reply({ embeds: [
embed('Status set!', undefined, 'SUCCESS'),