Fix embeds
This commit is contained in:
parent
4abff9771f
commit
043c18b216
9 changed files with 10 additions and 10 deletions
|
@ -67,7 +67,7 @@ export default {
|
|||
}
|
||||
|
||||
const FourchanEmbed = new EmbedBuilder()
|
||||
.setColor(interaction.member ? interaction.member.displayHexColor : 'NAVY')
|
||||
.setColor(interaction.member ? interaction.member.displayHexColor : 'Navy')
|
||||
.setTitle(turndown.turndown(title))
|
||||
.setDescription(turndown.turndown(description))
|
||||
.setImage(`https://i.4cdn.org/${board}/${response.threads[i].posts[0].tim}${response.threads[i].posts[0].ext}`)
|
||||
|
|
|
@ -29,7 +29,7 @@ export default {
|
|||
return interaction.editReply('No nsfw');
|
||||
}
|
||||
const redditEmbed = new EmbedBuilder()
|
||||
.setColor(interaction.member ? interaction.member.displayHexColor : 'NAVY')
|
||||
.setColor(interaction.member ? interaction.member.displayHexColor : 'Navy')
|
||||
.setTitle(response.data.children[i].data.title)
|
||||
.setDescription(response.data.children[i].data.selftext)
|
||||
.setURL('https://reddit.com' + response.data.children[i].data.permalink)
|
||||
|
|
|
@ -42,7 +42,7 @@ export default {
|
|||
|
||||
exec('git rev-parse --short HEAD', (err, stdout) => {
|
||||
const aboutEmbed = new EmbedBuilder()
|
||||
.setColor(interaction.member ? interaction.member.displayHexColor : 'NAVY')
|
||||
.setColor(interaction.member ? interaction.member.displayHexColor : 'Navy')
|
||||
.setAuthor({ name: client.user.tag, iconURL: client.user.displayAvatarURL(), url: 'https://libtar.de' })
|
||||
.setTitle('About me')
|
||||
.setDescription(description)
|
||||
|
|
|
@ -14,7 +14,7 @@ export default {
|
|||
});
|
||||
|
||||
const Embed = new EmbedBuilder()
|
||||
.setColor(interaction.member ? interaction.member.displayHexColor : 'NAVY')
|
||||
.setColor(interaction.member ? interaction.member.displayHexColor : 'Navy')
|
||||
.setTitle('Donation link')
|
||||
.setDescription(desc);
|
||||
|
||||
|
|
|
@ -115,7 +115,7 @@ export default {
|
|||
async function download(url, interaction, originalInteraction) {
|
||||
let format = 'bestvideo*+bestaudio/best';
|
||||
const Embed = new EmbedBuilder()
|
||||
.setColor(interaction.member ? interaction.member.displayHexColor : 'NAVY')
|
||||
.setColor(interaction.member ? interaction.member.displayHexColor : 'Navy')
|
||||
.setAuthor({ name: `Downloaded by ${interaction.user.tag}`, iconURL: interaction.user.displayAvatarURL(), url: url })
|
||||
.setFooter({ text: `You can get the original video by clicking on the "Downloaded by ${interaction.user.tag}" message!` });
|
||||
|
||||
|
|
|
@ -50,7 +50,7 @@ export default {
|
|||
}
|
||||
|
||||
const embed = new EmbedBuilder()
|
||||
.setColor(interaction.member ? interaction.member.displayHexColor : 'NAVY')
|
||||
.setColor(interaction.member ? interaction.member.displayHexColor : 'Navy')
|
||||
.setTitle(`\`${p}${command.data.name} ${usage.join(' ')}\``)
|
||||
.addFields(
|
||||
{ name: 'Description', value: description.description },
|
||||
|
@ -122,7 +122,7 @@ export default {
|
|||
}
|
||||
else {
|
||||
const embed = new EmbedBuilder()
|
||||
.setColor(interaction.member ? interaction.member.displayHexColor : 'NAVY')
|
||||
.setColor(interaction.member ? interaction.member.displayHexColor : 'Navy')
|
||||
.addFields({ name: 'Command List', value: `This is a list of commands.\nTo view details for a command, do \`${prefixs[0]}help <command>\`.` })
|
||||
.setFooter({ text: `All the available prefix: ${prefixs.join('| ')}` });
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ export default {
|
|||
};
|
||||
|
||||
const statsEmbed = new EmbedBuilder()
|
||||
.setColor(interaction.member ? interaction.member.displayHexColor : 'NAVY')
|
||||
.setColor(interaction.member ? interaction.member.displayHexColor : 'Navy')
|
||||
.setTitle('Bot stats')
|
||||
.setAuthor({ name: client.user.tag, iconURL: client.user.displayAvatarURL(), url: 'https://libtar.de' })
|
||||
.addFields(
|
||||
|
|
|
@ -119,7 +119,7 @@ export default {
|
|||
}
|
||||
|
||||
const Embed = new EmbedBuilder()
|
||||
.setColor(reaction.message.member ? reaction.message.member.displayHexColor : 'NAVY')
|
||||
.setColor(reaction.message.member ? reaction.message.member.displayHexColor : 'Navy')
|
||||
.setAuthor({ name: reaction.message.author.username, iconURL: reaction.message.author.displayAvatarURL() })
|
||||
.addFields(
|
||||
{ name: 'Jump to', value: `[message](https://discordapp.com/channels/${reaction.message.guild.id}/${reaction.message.channel.id}/${reaction.message.id})`, inline: true },
|
||||
|
|
|
@ -100,7 +100,7 @@ export default {
|
|||
}
|
||||
|
||||
const Embed = new EmbedBuilder()
|
||||
.setColor(reaction.message.member ? reaction.message.member.displayHexColor : 'NAVY')
|
||||
.setColor(reaction.message.member ? reaction.message.member.displayHexColor : 'Navy')
|
||||
.setAuthor({ name: reaction.message.author.username, iconURL: reaction.message.author.displayAvatarURL() })
|
||||
.addFields(
|
||||
{ name: 'Jump to', value: `[message](https://discordapp.com/channels/${reaction.message.guild.id}/${reaction.message.channel.id}/${reaction.message.id})`, inline: true },
|
||||
|
|
Loading…
Reference in a new issue