mirror of
https://github.com/darksaid98/cadence-discord-bot.git
synced 2026-12-02 22:16:13 +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
@@ -32,7 +32,7 @@ class FiltersDisableButtonComponent extends BaseComponentInteraction {
|
||||
return await interaction.editReply({
|
||||
embeds: [
|
||||
new EmbedBuilder()
|
||||
.setAuthor(await this.getEmbedUserAuthor(interaction))
|
||||
.setAuthor(this.getEmbedUserAuthor(interaction))
|
||||
.setDescription(
|
||||
`**${this.embedOptions.icons.success} Disabled filters**\nAll audio filters have been disabled.`
|
||||
)
|
||||
|
||||
@@ -65,7 +65,7 @@ class FiltersSelectMenuComponent extends BaseComponentInteraction {
|
||||
return await selectMenuInteraction.editReply({
|
||||
embeds: [
|
||||
new EmbedBuilder()
|
||||
.setAuthor(await this.getEmbedUserAuthor(interaction))
|
||||
.setAuthor(this.getEmbedUserAuthor(interaction))
|
||||
.setDescription(
|
||||
`**${
|
||||
this.embedOptions.icons.success
|
||||
|
||||
@@ -87,7 +87,7 @@ class NowplayingSkipButton extends BaseComponentInteraction {
|
||||
return await interaction.editReply({
|
||||
embeds: [
|
||||
new EmbedBuilder()
|
||||
.setAuthor(await this.getEmbedUserAuthor(interaction))
|
||||
.setAuthor(this.getEmbedUserAuthor(interaction))
|
||||
.setDescription(
|
||||
`**${this.embedOptions.icons.skipped} Skipped track**\n**${durationFormat} [${
|
||||
skippedTrack.title
|
||||
|
||||
Reference in new issue
Block a user