mirror of
https://github.com/ReVanced/revanced-bots.git
synced 2026-01-11 13:56:15 +00:00
fix(bot-discord): fix avatarURL not being defined
this shall be the end
This commit is contained in:
@@ -4,7 +4,7 @@ export default async function reportToLogs(config, client, action, message, { re
|
||||
const actionUpper = action.charAt(0).toUpperCase() + action.slice(1);
|
||||
const actionTitle = `${actionUpper} ${actionTo.tag}`;
|
||||
const actionEmbed = new EmbedBuilder()
|
||||
.setThumbnail(actionTo.user.avatarURL())
|
||||
.setThumbnail(actionTo.avatarURL())
|
||||
.setTitle(actionTitle);
|
||||
|
||||
const fields = [
|
||||
|
||||
Reference in New Issue
Block a user