REALLY fix command in dm
This commit is contained in:
parent
467471362d
commit
73a8c6653c
2 changed files with 2 additions and 2 deletions
|
@ -92,7 +92,7 @@ async function download(url, interaction) {
|
|||
let format = 'bestvideo*+bestaudio/best';
|
||||
const Embed = new MessageEmbed()
|
||||
.setColor(interaction.member ? interaction.member.displayHexColor : 'NAVY')
|
||||
.setAuthor({ name: `Downloaded by ${interaction.user.tag}`, iconURL: interaction.member.avatarURL(), url: url })
|
||||
.setAuthor({ name: `Downloaded by ${interaction.user.tag}`, iconURL: interaction.user.avatarURL(), url: url })
|
||||
.setFooter({ text: `You can get the original video by clicking on the "Downloaded by ${interaction.user.tag}" message!` });
|
||||
|
||||
if (interaction.customId === 'downloadQuality') {
|
||||
|
|
|
@ -13,7 +13,7 @@ export default {
|
|||
.setRequired(true)),
|
||||
async execute(interaction) {
|
||||
const Embed = new MessageEmbed()
|
||||
.setAuthor({ name: `${interaction.user.tag} (${interaction.user.id})`, iconURL: interaction.member.displayAvatarURL() })
|
||||
.setAuthor({ name: `${interaction.user.tag} (${interaction.user.id})`, iconURL: interaction.user.avatarURL() })
|
||||
.setTimestamp();
|
||||
|
||||
if (interaction.guild) Embed.addField('Guild', `${interaction.guild.name} (${interaction.guild.id})`, true);
|
||||
|
|
Loading…
Reference in a new issue