Skip to content

Commit

Permalink
fix: use non empty string on embed footer
Browse files Browse the repository at this point in the history
  • Loading branch information
Guilhermeasper committed Nov 13, 2023
1 parent 2bb9d3f commit 341cf5a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/utils/lastfm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ export const musicBotMessageHandler = async (message: Message) => {
});

collector.on('collect', async (collectedInteraction) => {
console.log(collectedInteraction.customId);
if (collectedInteraction.customId === 'add') {
if (scrobblesOnUsers.includes(collectedInteraction.user.id)) {
await collectedInteraction.deferUpdate();
Expand Down Expand Up @@ -163,7 +162,7 @@ export const musicBotMessageHandler = async (message: Message) => {
cancelScrobble.setDisabled(true);
buttons.setComponents([addScrobble, cancelScrobble]);
scrobbleEmbed.setFooter({
text: '',
text: 'O tempo para adicionar a fila de scrobbling acabou!',
});
scrobbleEmbedRef.edit({
embeds: [scrobbleEmbed],
Expand Down

0 comments on commit 341cf5a

Please sign in to comment.