-
I understand this is PyCord which is slightly different from Discord.py, however I was under the understanding they worked hand in hand? Was I wrong? Command raised an exception: AttributeError: 'Member' object has no attribute 'timeout_for' Previously I was getting an error saying "failed to convert 'int' object from 'minutes' ", however that issue seems to have gone. Here's the code, any help is appreciated: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Members do have the timeout_for attribute in the newest version. Try checking |
Beta Was this translation helpful? Give feedback.
-
Pass minutes to timeout_for |
Beta Was this translation helpful? Give feedback.
Members do have the timeout_for attribute in the newest version. Try checking
discord.__version__
, which should be 2.0.0a. If it's not, try uninstalling and then reinstalling from this github repo.