modified: .env
modified: README.md modified: commands/moderation/moveuser.js modified: handler/index.js modified: index.js modified: package.json commands/moderation/ban.js node_modules/ package-lock.json
This commit is contained in:
@@ -48,21 +48,24 @@ module.exports = {
|
||||
.setColor("Green")
|
||||
.setFooter({ text: `Member moved: ${member.user.username}`, iconURL: member.user.displayAvatarURL() })
|
||||
.setTimestamp()
|
||||
.setURL(`https://discord.com/channels/${interaction.guild.id}/${canalV.id}`)
|
||||
.setTitle("🧹 - Member Moved!")
|
||||
.setThumbnail(interaction.guild.iconURL({ dynamic: true, extension: 'png' }))
|
||||
.setDescription("*✅ - Member moved successfully!*")
|
||||
.setFields(
|
||||
{
|
||||
name: "🎙 - Voice Channel:",
|
||||
value: `*${canalV}*`,
|
||||
value: `*${channel}*`,
|
||||
inline: true
|
||||
},
|
||||
{
|
||||
name: "🆔 - Voice Chanel ID:",
|
||||
value: `*${canalV.id}*`,
|
||||
value: `*${channel.id}*`,
|
||||
inline: true
|
||||
},
|
||||
{
|
||||
name: " ",
|
||||
value: ` `,
|
||||
inline: false
|
||||
},
|
||||
{
|
||||
name: "👤 - Moved Member:",
|
||||
value: `*${member}*`,
|
||||
@@ -78,8 +81,8 @@ module.exports = {
|
||||
await interaction.editReply({ embeds: [embedVoice] })
|
||||
member.voice.setChannel(channel)
|
||||
|
||||
} catch {
|
||||
interaction.editReply({ content: `**Error: Something didn't work...**`, ephemeral: true })
|
||||
} catch (err) {
|
||||
interaction.editReply({ content: `**Error: Something didn't work...** ${err}`, ephemeral: true })
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user