aboutsummaryrefslogtreecommitdiff
path: root/bot/src/commands
diff options
context:
space:
mode:
authorAndrew Lee <andrew@alee14.me>2025-03-30 17:39:45 -0400
committerAndrew Lee <andrew@alee14.me>2025-03-30 17:39:45 -0400
commit48d906bfd8fade21c13e73ea703ecb699a19c533 (patch)
tree8551fd01f1cc146d1f2d5d3afaa75b257e833060 /bot/src/commands
parentd37cc8c56cbf8c9ffe7023c671abe0d579ea875d (diff)
downloadAleeBot-48d906bfd8fade21c13e73ea703ecb699a19c533.tar.gz
AleeBot-48d906bfd8fade21c13e73ea703ecb699a19c533.tar.bz2
AleeBot-48d906bfd8fade21c13e73ea703ecb699a19c533.zip
More eslint styling
Diffstat (limited to 'bot/src/commands')
-rw-r--r--bot/src/commands/quote.js2
-rw-r--r--bot/src/commands/serverinfo.js4
-rw-r--r--bot/src/commands/suggest.js6
-rw-r--r--bot/src/commands/userinfo.js4
4 files changed, 8 insertions, 8 deletions
diff --git a/bot/src/commands/quote.js b/bot/src/commands/quote.js
index 3bc71d3..79f05de 100644
--- a/bot/src/commands/quote.js
+++ b/bot/src/commands/quote.js
@@ -152,7 +152,7 @@ export default {
return await interaction.reply({ embeds: [quoteEmbed] });
} else {
- return await interaction.reply({ content: 'Cannot find quote. Specify the correct quote ID.', flags: MessageFlags.Ephemeral});
+ return await interaction.reply({ content: 'Cannot find quote. Specify the correct quote ID.', flags: MessageFlags.Ephemeral });
}
}
}
diff --git a/bot/src/commands/serverinfo.js b/bot/src/commands/serverinfo.js
index 7ebf6ea..29d3f3e 100644
--- a/bot/src/commands/serverinfo.js
+++ b/bot/src/commands/serverinfo.js
@@ -20,8 +20,8 @@ export default {
.setDescription('Server Information')
.setThumbnail(interaction.guild.iconURL())
.addFields(
- { name: 'Main Information', value: `**Server Name:** ${interaction.guild.name}\n**Server ID:** ${interaction.guild.id}\n**Server Owner:** ${guildOwner.user.username}`},
- { name: 'Join Dates', value: `**Created At:** ${interaction.guild.createdAt.toUTCString()}\n**AleeBot Joined:** ${interaction.guild.joinedAt.toUTCString()}`},
+ { name: 'Main Information', value: `**Server Name:** ${interaction.guild.name}\n**Server ID:** ${interaction.guild.id}\n**Server Owner:** ${guildOwner.user.username}` },
+ { name: 'Join Dates', value: `**Created At:** ${interaction.guild.createdAt.toUTCString()}\n**AleeBot Joined:** ${interaction.guild.joinedAt.toUTCString()}` },
{ name: 'Total Channels (without threads)', value: interaction.guild.channels.channelCountWithoutThreads.toString() },
// { name: 'Channels', value: listedChannels.join(' ') },
{ name: 'Total Members (with bots)', value: interaction.guild.memberCount.toString() },
diff --git a/bot/src/commands/suggest.js b/bot/src/commands/suggest.js
index 7c4b75a..914284c 100644
--- a/bot/src/commands/suggest.js
+++ b/bot/src/commands/suggest.js
@@ -54,7 +54,7 @@ export default {
.addFields({ name: 'Suggestion Content', value: feature })
.setColor(abEmbedColour)
.setFooter({ text: `Sending from ${modalInteraction.guild.name}`, iconURL: modalInteraction.guild.iconURL() })
- ]});
+ ] });
return await modalInteraction.reply({ content: 'Your suggestion has been sent.', flags: MessageFlags.Ephemeral });
})
@@ -101,9 +101,9 @@ export default {
.setDescription(`This is a suggestion from ${interaction.user.username}.`)
.addFields({ name: 'Suggestion Content', value: feature })
.setColor(abEmbedColour)
- ]});
+ ] });
- return await modalInteraction.reply({content: 'Your suggestion has been sent.', flags: MessageFlags.Ephemeral});
+ return await modalInteraction.reply({ content: 'Your suggestion has been sent.', flags: MessageFlags.Ephemeral });
})
.catch((err) => {
console.error(err);
diff --git a/bot/src/commands/userinfo.js b/bot/src/commands/userinfo.js
index 8119a16..311da12 100644
--- a/bot/src/commands/userinfo.js
+++ b/bot/src/commands/userinfo.js
@@ -18,9 +18,9 @@ export default {
.setDescription('User Information')
.setThumbnail(user.avatarURL())
.addFields(
- { name: 'Names', value: `**Display Name:** ${member.displayName}\n**Username:** ${user.username}`},
+ { name: 'Names', value: `**Display Name:** ${member.displayName}\n**Username:** ${user.username}` },
{ name: 'Identity', value: `**User ID:** ${user.id}` },
- { name: 'Create and Join Times', value: `**Created At:** ${user.createdAt.toUTCString()}\n**Joined Guild At:** ${member.joinedAt.toUTCString()}`}
+ { name: 'Create and Join Times', value: `**Created At:** ${user.createdAt.toUTCString()}\n**Joined Guild At:** ${member.joinedAt.toUTCString()}` }
)
.setColor(abEmbedColour);
return await interaction.reply({ embeds: [userEmbed] });