fix: remove async from class methods for getting author

This commit is contained in:
Marius Begby committed 2023-09-13 18:52:31 +02:00
1 parent 230ba5fd93
commit fe14fc308f
17 files changed
+23 -23

No files matched your search

+2 -2
View File
@@ -59,7 +59,7 @@ class QueueCommand extends BaseSlashCommandInteraction {
await interaction.editReply({
embeds: [
new EmbedBuilder()
.setAuthor(await this.getEmbedQueueAuthor(interaction, queue))
.setAuthor(this.getEmbedQueueAuthor(interaction, queue))
.setDescription(
`**${this.embedOptions.icons.audioPlaying} Now playing**\n` +
`${this.getFormattedTrackUrl(currentTrack)}\n` +
@@ -89,7 +89,7 @@ class QueueCommand extends BaseSlashCommandInteraction {
return await interaction.editReply({
embeds: [
new EmbedBuilder()
.setAuthor(await this.getEmbedQueueAuthor(interaction, queue))
.setAuthor(this.getEmbedQueueAuthor(interaction, queue))
.setDescription(
`${this.getDisplayRepeatMode(queue.repeatMode)}` +
`**${this.embedOptions.icons.queue} Tracks in queue**\n` +