diff options
Diffstat (limited to 'bot/src/commands')
| -rw-r--r-- | bot/src/commands/quote.js | 2 | ||||
| -rw-r--r-- | bot/src/commands/serverinfo.js | 4 | ||||
| -rw-r--r-- | bot/src/commands/suggest.js | 6 | ||||
| -rw-r--r-- | bot/src/commands/userinfo.js | 4 |
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] }); |
