mirror of
https://github.com/darksaid98/cadence-discord-bot.git
synced 2026-12-04 14:38:49 +00:00
Update interaction editReply
This commit is contained in:
1 parent
40c5593f24
commit
6e48a83d10
8 files changed
+14
-14
No files matched your search
+2
-2
@@ -15,7 +15,7 @@ module.exports = {
|
||||
),
|
||||
run: async ({ interaction }) => {
|
||||
if (!interaction.member.voice.channel) {
|
||||
return interaction.editReply({
|
||||
return await interaction.editReply({
|
||||
embeds: [
|
||||
new EmbedBuilder()
|
||||
.setDescription(
|
||||
@@ -59,7 +59,7 @@ module.exports = {
|
||||
|
||||
// TODO: Add a check to see if the queue is empty, and if so, add a message to the embed saying that the track is now playing.
|
||||
// TODO: YouTube thumbnail not shown? Different url than track.thumbnail?
|
||||
await interaction.editReply({
|
||||
return await interaction.editReply({
|
||||
embeds: [
|
||||
new EmbedBuilder()
|
||||
.setAuthor({
|
||||
|
||||
Reference in new issue
Block a user