Skip to content
This repository has been archived by the owner on Feb 14, 2024. It is now read-only.

Commit

Permalink
Added some extras
Browse files Browse the repository at this point in the history
  • Loading branch information
sandarutharuneth authored Jul 23, 2022
1 parent 19ddf26 commit b45b2dc
Showing 1 changed file with 19 additions and 15 deletions.
34 changes: 19 additions & 15 deletions slash/userinfo.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,22 +105,26 @@ const response = await fetch(


const UserInfoEm = new MessageEmbed()
.setColor("BLURPLE")
.setAuthor(member.user.tag, member.user.displayAvatarURL({ dynamic: true }))
.setColor("2f3136")
.setTitle('**WHO THE HELL IS THIS?**')
.setThumbnail(member.user.displayAvatarURL({ dynamic: true }))
.addFields(
{ name: `Avatar:`, value: `[PNG](${avpng})`, inline: true },
{ name: `Joined Discord At:`, value: `${joinedDiscordAt}`, inline: true },
{ name: `Bot:`, value: `${isBot}`, inline: true },
{ name: `Badges:`, value: `${badges}`, inline: true },
{ name: `Status:`, value: `${status}`, inline: true },
{ name: `Activity:`, value: `${userstatus}`, inline: true },
{ name: `Highest Role:`, value: `${highestRole}`, inline: true },
{ name: `Roles:`, value: `[${totalRoles}] -\n ${Roles}`, inline: true },
{ name: `Permissions:`, value: `${memberPermissons}`, inline: true },
)
.setDescription(`**User Info**`)
.setFooter(`ID - ${member.user.id} | Joined Server At - ${joinedServerAt}`)

.setDescription(`
**Name:** \`${member.user.username}\`
Nickname: **${member.nickname}**
Tag: **${member.user.tag}**
ID: **${member.user.id}**
Avatar: [PNG](${avpng})\n
**Creation:** \`${joinedDiscordAt}\`
**Joined:** \`${joinedServerAt}\`
**Bot:** ${isBot}
**Discord Badges:** ${badges}\n
**Status:** \n${status}\n
**Activity:** \n${userstatus}\n
**Highest Role:** \n${highestRole}\n
**Roles:** \n${Roles}\n
**Permissions:** \n\`\`\`ini\n[ ${memberPermissons} ]\`\`\``)
.setFooter({ text: '©️ IVON', iconURL: (process.env.FOOTERIMG) })
await interaction.reply({
content: `Information about **${member.user.tag}**`,
embeds: [UserInfoEm]
Expand Down

0 comments on commit b45b2dc

Please sign in to comment.