mirror of
https://github.com/ReVanced/revanced-bots.git
synced 2026-01-27 05:01:02 +00:00
fix(bot-discord): consistent embed (#20)
This commit is contained in:
@@ -5,7 +5,9 @@ export default async function reportToLogs(config, client, action, message, { re
|
||||
const actionTitle = `${actionUpper} ${actionTo.tag}`;
|
||||
const actionEmbed = new EmbedBuilder()
|
||||
.setThumbnail(actionTo.avatarURL())
|
||||
.setTitle(actionTitle);
|
||||
.setTitle(actionTitle)
|
||||
.setColor(5150960)
|
||||
.setFooter({ text: 'ReVanced', iconURL: client.user.avatarURL() });
|
||||
|
||||
const fields = [
|
||||
{ name: 'Action', value: `${actionTo.toString()} was ${action} by ${actionBy.toString()}` }
|
||||
|
||||
Reference in New Issue
Block a user