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:
Noah Pombas
2024-09-30 18:39:01 +02:00
parent 280054ddb6
commit 33a8ddd796
6 changed files with 80 additions and 24 deletions

View File

@@ -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 })
}