Skip to content

Commit

Permalink
Merge pull request #513 from zebz213/Fix-to-SetupButtons
Browse files Browse the repository at this point in the history
Change to stop button behavior.
  • Loading branch information
appujet authored Mar 13, 2024
2 parents d1ba7f5 + 1606463 commit fa3cce2
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/events/client/SetupButtons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,9 +149,18 @@ export default class SetupButtons extends Event {
await buttonReply(interaction, `Stopped the music.`, this.client.color.main);
await message.edit({
embeds: [
embed.setFooter({
embed
.setFooter({
text: `Stopped by ${interaction.member.displayName}`,
iconURL: interaction.member.displayAvatarURL({}),

})
.setDescription(`Nothing playing right now`)
.setImage(this.client.config.links.img)
.setAuthor({
name: this.client.user.username,
iconURL: this.client.user.displayAvatarURL({ extension: 'png' }),

}),
],
});
Expand Down

0 comments on commit fa3cce2

Please sign in to comment.