I am making a bot and it has a method in it called get_members()
which takes 2 args self and client
. I am supplying both arguments and still it says I am providing 3 args.
Also the client parameter shows a warning Unexpected Argument
The stacktrace
Traceback (most recent call last):
File "C:\Users\Vinesh\Documents\GitHub\DMBot\lib\scraper.py", line 18, in fetch
self.scrape()
File "C:\Users\Vinesh\Documents\GitHub\DMBot\lib\scraper.py", line 14, in scrape
self.scraped = self.get_members(self, client)
TypeError: get_members() takes 2 positional arguments but 3 were given
During handling of the above exception, another exception occurred: