Skip to content

Commit

Permalink
[Fix] replace message with interaction for the database request
Browse files Browse the repository at this point in the history
  • Loading branch information
naseif committed Nov 2, 2021
1 parent eeaff2f commit c439457
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands/Music/play.js
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ module.exports = {
],
});

const checkdj = await client.db.get(`djRole_${message.guildId}`);
const checkdj = await client.db.get(`djRole_${interaction.guildId}`);
const userRoles = await interaction.member.roles.cache.map(
(role) => role.id
);
Expand Down

0 comments on commit c439457

Please sign in to comment.