mirror of
https://github.com/darksaid98/cadence-discord-bot.git
synced 2026-12-03 14:38:49 +00:00
fix: remove async from class methods for getting author
This commit is contained in:
1 parent
230ba5fd93
commit
fe14fc308f
17 files changed
+23
-23
No files matched your search
@@ -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` +
|
||||
|
||||
Reference in new issue
Block a user