fix: Formatting

This commit is contained in:
Marius Begby committed 2023-07-17 12:42:00 +02:00
1 parent 22f4a22c0e
commit 1d520e95bd
13 files changed
+91 -284

No files matched your search

+2 -6
View File
@@ -7,9 +7,7 @@ const { embedColors, embedIcons } = require(path.resolve('./config.json'));
module.exports = {
data: new SlashCommandBuilder()
.setName('leave')
.setDescription(
'Clear the track queue and remove the bot from voice channel.'
)
.setDescription('Clear the track queue and remove the bot from voice channel.')
.setDMPermission(false),
// todo, allow command to be executed if bot is only member in voice channel
@@ -47,9 +45,7 @@ module.exports = {
embeds: [
new EmbedBuilder()
.setAuthor({
name:
interaction.member.nickname ||
interaction.user.username,
name: interaction.member.nickname || interaction.user.username,
iconURL: interaction.user.avatarURL()
})
.setDescription(