diff options
Diffstat (limited to 'src/listeners/member-custom')
-rw-r--r-- | src/listeners/member-custom/bushBan.ts | 2 | ||||
-rw-r--r-- | src/listeners/member-custom/bushBlock.ts | 2 | ||||
-rw-r--r-- | src/listeners/member-custom/bushKick.ts | 2 | ||||
-rw-r--r-- | src/listeners/member-custom/bushMute.ts | 2 | ||||
-rw-r--r-- | src/listeners/member-custom/bushPunishRole.ts | 2 | ||||
-rw-r--r-- | src/listeners/member-custom/bushPunishRoleRemove.ts | 2 | ||||
-rw-r--r-- | src/listeners/member-custom/bushPurge.ts | 2 | ||||
-rw-r--r-- | src/listeners/member-custom/bushRemoveTimeout.ts | 2 | ||||
-rw-r--r-- | src/listeners/member-custom/bushTimeout.ts | 2 | ||||
-rw-r--r-- | src/listeners/member-custom/bushUnban.ts | 2 | ||||
-rw-r--r-- | src/listeners/member-custom/bushUnblock.ts | 2 | ||||
-rw-r--r-- | src/listeners/member-custom/bushUnmute.ts | 2 | ||||
-rw-r--r-- | src/listeners/member-custom/bushUpdateModlog.ts | 2 | ||||
-rw-r--r-- | src/listeners/member-custom/bushUpdateSettings.ts | 2 | ||||
-rw-r--r-- | src/listeners/member-custom/bushWarn.ts | 2 |
15 files changed, 15 insertions, 15 deletions
diff --git a/src/listeners/member-custom/bushBan.ts b/src/listeners/member-custom/bushBan.ts index 77ebaaf..b58f661 100644 --- a/src/listeners/member-custom/bushBan.ts +++ b/src/listeners/member-custom/bushBan.ts @@ -19,7 +19,7 @@ export default class BushBanListener extends BushListener { .setColor(util.colors.RED) .setTimestamp() .setFooter({ text: `CaseID: ${caseID}` }) - .setAuthor({ name: user.tag, iconURL: user.avatarURL({ format: 'png', size: 4096 }) ?? undefined }) + .setAuthor({ name: user.tag, iconURL: user.avatarURL({ extension: 'png', size: 4096 }) ?? undefined }) .addField({ name: '**Action**', value: `${duration ? 'Temp Ban' : 'Perm Ban'}` }) .addField({ name: '**User**', value: `${user} (${user.tag})` }) .addField({ name: '**Moderator**', value: `${moderator} (${moderator.tag})` }) diff --git a/src/listeners/member-custom/bushBlock.ts b/src/listeners/member-custom/bushBlock.ts index d4f7c98..2d023c4 100644 --- a/src/listeners/member-custom/bushBlock.ts +++ b/src/listeners/member-custom/bushBlock.ts @@ -21,7 +21,7 @@ export default class BushBlockListener extends BushListener { .setColor(util.colors.PURPLE) .setTimestamp() .setFooter({ text: `CaseID: ${caseID}` }) - .setAuthor({ name: user.tag, iconURL: user.avatarURL({ format: 'png', size: 4096 }) ?? undefined }) + .setAuthor({ name: user.tag, iconURL: user.avatarURL({ extension: 'png', size: 4096 }) ?? undefined }) .addField({ name: '**Action**', value: `${duration ? 'Temp Block' : 'Perm Block'}` }) .addField({ name: '**Channel**', value: `<#${channel.id}>` }) .addField({ name: '**User**', value: `${user} (${user.tag})` }) diff --git a/src/listeners/member-custom/bushKick.ts b/src/listeners/member-custom/bushKick.ts index 822201d..50af0af 100644 --- a/src/listeners/member-custom/bushKick.ts +++ b/src/listeners/member-custom/bushKick.ts @@ -19,7 +19,7 @@ export default class BushKickListener extends BushListener { .setColor(util.colors.RED) .setTimestamp() .setFooter({ text: `CaseID: ${caseID}` }) - .setAuthor({ name: user.tag, iconURL: user.avatarURL({ format: 'png', size: 4096 }) ?? undefined }) + .setAuthor({ name: user.tag, iconURL: user.avatarURL({ extension: 'png', size: 4096 }) ?? undefined }) .addField({ name: '**Action**', value: `${'Kick'}` }) .addField({ name: '**User**', value: `${user} (${user.tag})` }) .addField({ name: '**Moderator**', value: `${moderator} (${moderator.tag})` }) diff --git a/src/listeners/member-custom/bushMute.ts b/src/listeners/member-custom/bushMute.ts index c6361b0..bfd1fc0 100644 --- a/src/listeners/member-custom/bushMute.ts +++ b/src/listeners/member-custom/bushMute.ts @@ -19,7 +19,7 @@ export default class BushMuteListener extends BushListener { .setColor(util.colors.ORANGE) .setTimestamp() .setFooter({ text: `CaseID: ${caseID}` }) - .setAuthor({ name: user.tag, iconURL: user.avatarURL({ format: 'png', size: 4096 }) ?? undefined }) + .setAuthor({ name: user.tag, iconURL: user.avatarURL({ extension: 'png', size: 4096 }) ?? undefined }) .addField({ name: '**Action**', value: `${duration ? 'Temp Mute' : 'Perm Mute'}` }) .addField({ name: '**User**', value: `${user} (${user.tag})` }) .addField({ name: '**Moderator**', value: `${moderator} (${moderator.tag})` }) diff --git a/src/listeners/member-custom/bushPunishRole.ts b/src/listeners/member-custom/bushPunishRole.ts index 7e87b65..112c4df 100644 --- a/src/listeners/member-custom/bushPunishRole.ts +++ b/src/listeners/member-custom/bushPunishRole.ts @@ -19,7 +19,7 @@ export default class BushPunishRoleListener extends BushListener { .setColor(util.colors.YELLOW) .setTimestamp() .setFooter({ text: `CaseID: ${caseID}` }) - .setAuthor({ name: user.tag, iconURL: user.avatarURL({ format: 'png', size: 4096 }) ?? undefined }) + .setAuthor({ name: user.tag, iconURL: user.avatarURL({ extension: 'png', size: 4096 }) ?? undefined }) .addField({ name: '**Action**', value: `${duration ? 'Temp Punishment Role' : 'Perm Punishment Role'}` }) .addField({ name: '**User**', value: `${user} (${user.tag})` }) .addField({ name: '**Moderator**', value: `${moderator} (${moderator.tag})` }) diff --git a/src/listeners/member-custom/bushPunishRoleRemove.ts b/src/listeners/member-custom/bushPunishRoleRemove.ts index e9d3d95..dadc841 100644 --- a/src/listeners/member-custom/bushPunishRoleRemove.ts +++ b/src/listeners/member-custom/bushPunishRoleRemove.ts @@ -19,7 +19,7 @@ export default class BushPunishRoleRemoveListener extends BushListener { .setColor(util.colors.GREEN) .setTimestamp() .setFooter({ text: `CaseID: ${caseID}` }) - .setAuthor({ name: user.tag, iconURL: user.avatarURL({ format: 'png', size: 4096 }) ?? undefined }) + .setAuthor({ name: user.tag, iconURL: user.avatarURL({ extension: 'png', size: 4096 }) ?? undefined }) .addField({ name: '**Action**', value: `${'Remove Punishment Role'}` }) .addField({ name: '**Role**', value: `${role}` }) .addField({ name: '**User**', value: `${user} (${user.tag})` }) diff --git a/src/listeners/member-custom/bushPurge.ts b/src/listeners/member-custom/bushPurge.ts index 5c685cd..72286a0 100644 --- a/src/listeners/member-custom/bushPurge.ts +++ b/src/listeners/member-custom/bushPurge.ts @@ -27,7 +27,7 @@ export default class BushPurgeListener extends BushListener { .setColor(util.colors.DARK_PURPLE) .setTimestamp() .setFooter({ text: `${messages.size.toLocaleString()} Messages` }) - .setAuthor({ name: moderator.tag, iconURL: moderator.avatarURL({ format: 'png', size: 4096 }) ?? undefined }) + .setAuthor({ name: moderator.tag, iconURL: moderator.avatarURL({ extension: 'png', size: 4096 }) ?? undefined }) .addField({ name: '**Action**', value: `${'Purge'}` }) .addField({ name: '**Moderator**', value: `${moderator} (${moderator.tag})` }) .addField({ name: '**Channel**', value: `<#${channel.id}> (${channel.name})` }) diff --git a/src/listeners/member-custom/bushRemoveTimeout.ts b/src/listeners/member-custom/bushRemoveTimeout.ts index 947bec9..e3e2e09 100644 --- a/src/listeners/member-custom/bushRemoveTimeout.ts +++ b/src/listeners/member-custom/bushRemoveTimeout.ts @@ -19,7 +19,7 @@ export default class BushRemoveTimeoutListener extends BushListener { .setColor(util.colors.GREEN) .setTimestamp() .setFooter({ text: `CaseID: ${caseID}` }) - .setAuthor({ name: user.tag, iconURL: user.avatarURL({ format: 'png', size: 4096 }) ?? undefined }) + .setAuthor({ name: user.tag, iconURL: user.avatarURL({ extension: 'png', size: 4096 }) ?? undefined }) .addField({ name: '**Action**', value: `${'Remove Timeout'}` }) .addField({ name: '**User**', value: `${user} (${user.tag})` }) .addField({ name: '**Moderator**', value: `${moderator} (${moderator.tag})` }) diff --git a/src/listeners/member-custom/bushTimeout.ts b/src/listeners/member-custom/bushTimeout.ts index 8acc506..d7f8000 100644 --- a/src/listeners/member-custom/bushTimeout.ts +++ b/src/listeners/member-custom/bushTimeout.ts @@ -21,7 +21,7 @@ export default class BushTimeoutListener extends BushListener { .setColor(util.colors.ORANGE) .setTimestamp() .setFooter({ text: `CaseID: ${caseID}` }) - .setAuthor({ name: user.tag, iconURL: user.avatarURL({ format: 'png', size: 4096 }) ?? undefined }) + .setAuthor({ name: user.tag, iconURL: user.avatarURL({ extension: 'png', size: 4096 }) ?? undefined }) .addField({ name: '**Action**', value: `${'Timeout'}` }) .addField({ name: '**User**', value: `${user} (${user.tag})` }) .addField({ name: '**Moderator**', value: `${moderator} (${moderator.tag})` }) diff --git a/src/listeners/member-custom/bushUnban.ts b/src/listeners/member-custom/bushUnban.ts index d58ae21..bee8032 100644 --- a/src/listeners/member-custom/bushUnban.ts +++ b/src/listeners/member-custom/bushUnban.ts @@ -19,7 +19,7 @@ export default class BushUnbanListener extends BushListener { .setColor(util.colors.GREEN) .setTimestamp() .setFooter({ text: `CaseID: ${caseID}` }) - .setAuthor({ name: user.tag, iconURL: user.avatarURL({ format: 'png', size: 4096 }) ?? undefined }) + .setAuthor({ name: user.tag, iconURL: user.avatarURL({ extension: 'png', size: 4096 }) ?? undefined }) .addField({ name: '**Action**', value: `${'Unban'}` }) .addField({ name: '**User**', value: `${user} (${user.tag})` }) .addField({ name: '**Moderator**', value: `${moderator} (${moderator.tag})` }) diff --git a/src/listeners/member-custom/bushUnblock.ts b/src/listeners/member-custom/bushUnblock.ts index ead2a7d..dd076c6 100644 --- a/src/listeners/member-custom/bushUnblock.ts +++ b/src/listeners/member-custom/bushUnblock.ts @@ -19,7 +19,7 @@ export default class BushUnblockListener extends BushListener { .setColor(util.colors.GREEN) .setTimestamp() .setFooter({ text: `CaseID: ${caseID}` }) - .setAuthor({ name: user.tag, iconURL: user.avatarURL({ format: 'png', size: 4096 }) ?? undefined }) + .setAuthor({ name: user.tag, iconURL: user.avatarURL({ extension: 'png', size: 4096 }) ?? undefined }) .addField({ name: '**Action**', value: `${'Unblock'}` }) .addField({ name: '**Channel**', value: `<#${channel.id}>` }) .addField({ name: '**User**', value: `${user} (${user.tag})` }) diff --git a/src/listeners/member-custom/bushUnmute.ts b/src/listeners/member-custom/bushUnmute.ts index b88f450..573cbdc 100644 --- a/src/listeners/member-custom/bushUnmute.ts +++ b/src/listeners/member-custom/bushUnmute.ts @@ -19,7 +19,7 @@ export default class BushUnmuteListener extends BushListener { .setColor(util.colors.GREEN) .setTimestamp() .setFooter({ text: `CaseID: ${caseID}` }) - .setAuthor({ name: user.tag, iconURL: user.avatarURL({ format: 'png', size: 4096 }) ?? undefined }) + .setAuthor({ name: user.tag, iconURL: user.avatarURL({ extension: 'png', size: 4096 }) ?? undefined }) .addField({ name: '**Action**', value: `${'Unmute'}` }) .addField({ name: '**User**', value: `${user} (${user.tag})` }) .addField({ name: '**Moderator**', value: `${moderator} (${moderator.tag})` }) diff --git a/src/listeners/member-custom/bushUpdateModlog.ts b/src/listeners/member-custom/bushUpdateModlog.ts index 199e32e..d9e43aa 100644 --- a/src/listeners/member-custom/bushUpdateModlog.ts +++ b/src/listeners/member-custom/bushUpdateModlog.ts @@ -19,7 +19,7 @@ export default class BushUpdateModlogListener extends BushListener { .setTimestamp() .setAuthor({ name: moderator.user.tag, - iconURL: moderator.user.avatarURL({ format: 'png', size: 4096 }) ?? undefined + iconURL: moderator.user.avatarURL({ extension: 'png', size: 4096 }) ?? undefined }) .addField({ name: '**Action**', value: `${'Update Modlog'}` }) .addField({ name: '**Moderator**', value: `${moderator} (${moderator.user.tag})` }) diff --git a/src/listeners/member-custom/bushUpdateSettings.ts b/src/listeners/member-custom/bushUpdateSettings.ts index 61fdfaa..dbf3c9c 100644 --- a/src/listeners/member-custom/bushUpdateSettings.ts +++ b/src/listeners/member-custom/bushUpdateSettings.ts @@ -19,7 +19,7 @@ export default class BushUpdateSettingsListener extends BushListener { if (moderator) logEmbed.setAuthor({ name: moderator.user.tag, - iconURL: moderator.user.avatarURL({ format: 'png', size: 4096 }) ?? undefined + iconURL: moderator.user.avatarURL({ extension: 'png', size: 4096 }) ?? undefined }); logEmbed.addField({ name: '**Action**', value: `${'Update Settings'}` }); if (moderator) logEmbed.addField({ name: '**Moderator**', value: `${moderator} (${moderator.user.tag})` }); diff --git a/src/listeners/member-custom/bushWarn.ts b/src/listeners/member-custom/bushWarn.ts index 11eeb49..cbcf8db 100644 --- a/src/listeners/member-custom/bushWarn.ts +++ b/src/listeners/member-custom/bushWarn.ts @@ -19,7 +19,7 @@ export default class BushWarnListener extends BushListener { .setColor(util.colors.YELLOW) .setTimestamp() .setFooter({ text: `CaseID: ${caseID}` }) - .setAuthor({ name: user.tag, iconURL: user.avatarURL({ format: 'png', size: 4096 }) ?? undefined }) + .setAuthor({ name: user.tag, iconURL: user.avatarURL({ extension: 'png', size: 4096 }) ?? undefined }) .addField({ name: '**Action**', value: `${'Warn'}` }) .addField({ name: '**User**', value: `${user} (${user.tag})` }) .addField({ name: '**Moderator**', value: `${moderator} (${moderator.tag})` }) |