Skip to content
Advertisement

How to add timeout, python discord bot

I made a guess the character game in discord bot, (see the code below). I want to add 30 second timeout for a player to response, but I totally dont know what to do, any help?

JavaScript

Advertisement

Answer

You should add timeout = seconds criteria in wait_for

JavaScript
User contributions licensed under: CC BY-SA
9 People found this is helpful
Advertisement