Compare commits
No commits in common. "467471362d239aefb75b9012f6bf406f2b1ebec0" and "e9e4febbfaab9f7a3e9c1e324c82b6574444a868" have entirely different histories.
467471362d
...
e9e4febbfa
3 changed files with 4 additions and 4 deletions
|
@ -92,8 +92,8 @@ 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 })
|
||||
.setFooter({ text: `You can get the original video by clicking on the "Downloaded by ${interaction.user.tag}" message!` });
|
||||
.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!` });
|
||||
|
||||
if (interaction.customId === 'downloadQuality') {
|
||||
format = interaction.values[0];
|
||||
|
|
|
@ -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.member.displayName} (${interaction.member.id})`, iconURL: interaction.member.displayAvatarURL() })
|
||||
.setTimestamp();
|
||||
|
||||
if (interaction.guild) Embed.addField('Guild', `${interaction.guild.name} (${interaction.guild.id})`, true);
|
||||
|
|
|
@ -55,7 +55,7 @@ export default {
|
|||
|
||||
async function gifski(output, input) {
|
||||
return await new Promise((resolve, reject) => {
|
||||
exec(`gifski -o ${output} ${input}`, (err, stdout, stderr) => {
|
||||
exec(`gifski --quality 70 -o ${output} ${input}`, (err, stdout, stderr) => {
|
||||
if (err) {
|
||||
reject(stderr);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue