In https://replit.com/@BillyHornets/Tracker#main.py what I did was make a discord bot which, is listening to a command and executes a function when someone types the command. However even though that function is given the right amount of arguments, a “Missing required positional” error is still raised. What is the reasoning for this?
Shouldn’t the get_info method be called on t and not on Tracker?
I’m not very knowledgeable about Python but calling it on the class would suggest to me it had to be a static method on the class and not an instance method.
Wait no, your right. It should have been called on t an not tracker. This time it raised a different error. Lemme mess around with this error real quick.
I’m also glad I’m not totally crazy and that some base knowledge of languages can transfer between languages as expected. My guess on what was wrong was just based on the fact that I assumed that when called as a static method you would not get access to self, so the argument list changed. And purely going by the error message you got that would make sense.