Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

discord.py rewrite: How do i make a interaction not expire after 15 minutes

Im trying to make a /giveaway command for my discord bot, but when the user clicks the "join giveaway" button after 15 mins (after the giveaway was created)it says "Application Didn’t Respond"

Is there any way to bypass/solve this?

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

A button has a default timeout of 200 seconds, and you can bypass that with timeout=none. (Discord.py latest version)

Button(label='No timeout', timeout=None)
Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading