Allvaa / lavalink-musicbot

Music bot that uses Lavalink for its audio player.
MIT License
96 stars 56 forks source link

Fixed Unknown Interaction in Pagination (util.js) #137

Closed Abdul1810 closed 3 years ago

Abdul1810 commented 3 years ago

This will Fix The Unknown Interaction Error From RequestHandler.js.So, Merge This PR.

yofukashino commented 3 years ago

me who just added

process.on("unhandledRejection", error => {
            if (error.code == "10008" || error.code == "10062") return;
            this.logger.error(error.stack);
        });

To my code be like okay

yofukashino commented 3 years ago

I just ignores both of the errors. unknown interaction and unknown message. :')

Abdul1810 commented 3 years ago

Ok Ty.

Allvaa commented 3 years ago

wondering if is that code change will affect it. as far as I know, Unknown Interaction error would appear when you don't give respond to the interaction in 3 seconds, and after the 3s it becomes invalid, when you try to respond to the interaction, it will throw Unknown Interaction.

internet connection matters I guess