forked from Supositware/Haha-Yes
fixed embed
This commit is contained in:
parent
0c961df89b
commit
6fcd5e8d87
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ async function download(url, interaction) {
|
||||||
let format = 'bestvideo*+bestaudio/best';
|
let format = 'bestvideo*+bestaudio/best';
|
||||||
const Embed = new MessageEmbed()
|
const Embed = new MessageEmbed()
|
||||||
.setColor(interaction.member ? interaction.member.displayHexColor : 'NAVY')
|
.setColor(interaction.member ? interaction.member.displayHexColor : 'NAVY')
|
||||||
.setAuthor({ text: `Downloaded by ${interaction.member.displayName}`, iconURL: interaction.member.displayAvatarURL(), url: url })
|
.setAuthor({ name: `Downloaded by ${interaction.member.displayName}`, iconURL: interaction.member.displayAvatarURL(), url: url })
|
||||||
.setFooter({ text: `You can get the original video by clicking on the "Downloaded by ${interaction.member.displayName}" message!` });
|
.setFooter({ text: `You can get the original video by clicking on the "Downloaded by ${interaction.member.displayName}" message!` });
|
||||||
|
|
||||||
if (interaction.customId === 'downloadQuality') {
|
if (interaction.customId === 'downloadQuality') {
|
||||||
|
|
Loading…
Reference in a new issue