Skip to content

Tag: pycord – BanIterator object is not iterable

I’m trying to make an unban command but I have no way of getting the banned users list. This is the code: Error code: I tried even copying the code from this man ( but it doesn’t work. This is the code: Error code: This is all the bot code: Answer as in Documentation , you need to do it

Triggering method from within a loop with Python and Pycord

I’m playing around with Pycord and trying to send a message to a channel X for each element in an array. The following class will throw a TypeError: MyClient.on_ready() missing 1 required positional argument: ‘message’ indicating that MyClient.on_ready() needs 2 arguments, one for self, one for message, but every example on how to pass arguments to class methods were only