Open BoomerangRosalina opened 2 years ago
I think your entire problem is that you are using Discord.py 2.0, read their docs and maybe this will solve your problem. Hope this helps :)
Ok thank you. I figured out my entire problem. It is because discord.py 2.0 would use different code to timeout members.
If you are using Python 3.9 or higher, the timeout command may not work anymore. You may encounter this error: "Command raised an exception: RuntimeError: Timeout context manager should be used inside a task" I have no idea how to fix this so instead, stay with Python versions lower than 3.9. Same goes with the avatar part of the code in the serverinfo and userinfo command. If you know how to fix this issue, open a issue on this github page or reply to this issue.