Skip to content

Commit

Permalink
fix(reactions): media reactions being removed too early
Browse files Browse the repository at this point in the history
  • Loading branch information
eritislami committed Aug 4, 2020
1 parent 4b9dc10 commit ed89cfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/play.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ module.exports = {

const filter = (reaction, user) => user.id !== message.client.user.id;
var collector = playingMessage.createReactionCollector(filter, {
time: song.duration > 0 ? song.duration : 600000
time: song.duration > 0 ? song.duration * 1000 : 600000
});

collector.on("collect", (reaction, user) => {
Expand Down

0 comments on commit ed89cfc

Please sign in to comment.